#include "grader.h"
int HC(int n){
int a = 0;
int b = n;
while (b > a)
{
int mid = (a + b) / 2;
Guess(mid);
int q = Guess(mid);
if (q == 1)
{
a = mid + 1;
} else
{
b = mid;
}
}
return a;
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
107 ms |
51052 KB |
Output isn't correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
108 ms |
51180 KB |
Output isn't correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
106 ms |
51052 KB |
Output isn't correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
1309 ms |
262144 KB |
Output isn't correct - alpha = 0.000000000000 |