We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
return c;
}
On submission the code fails for 9/11 test cases. But while giving custom input from the failed test cases, it works well. I am unable to find the exact reason.
return c;
}
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Clique
You are viewing a single comment's thread. Return to all comments →
int clique(int n, int m) { int i=2,c=0;
long double r=0.0,e=0.0; e=(n*(n-1)/2); while(i<=m) {
return c; } On submission the code fails for 9/11 test cases. But while giving custom input from the failed test cases, it works well. I am unable to find the exact reason. return c; }