#include "grader.h"
#include<bits/stdc++.h>
using namespace std;
int HC(int n){
int st = 1;
int dr = n;
while(st <= dr){
Guess(st);
int x = Guess(dr);
int mij = (st + dr) / 2;
if(x == 0)
return mij;
else if(x > 0){
st = mij;
}
else{
dr = mij - 1;
}
}
return st;
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Execution timed out |
10008 ms |
1236 KB |
Time limit exceeded |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Execution timed out |
10095 ms |
1236 KB |
Time limit exceeded |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Execution timed out |
10099 ms |
1236 KB |
Time limit exceeded |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Execution timed out |
10089 ms |
8096 KB |
Time limit exceeded |