#include <bits/stdc++.h>
using namespace std;
int HC(int n) {
int l = 1, r = n, mid;
int last = n;
//Guess(n);
while(false) {
mid = (l + r) >> 1;
int g = 0;//Guess(mid);
if(g == 1) {
r = mid;
} else if(g == -1) {
l = mid;
} else {
return (last - mid) / 2;
}
last = mid;
}
return n;
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
21 ms |
23132 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
22 ms |
23132 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
21 ms |
23132 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
309 ms |
140648 KB |
Output isn't correct - alpha = 0.000000000000 |
2 |
Halted |
0 ms |
0 KB |
- |