#include <bits/stdc++.h>
#include "grader.h"
using namespace std;
int Guess (int x);
int HC(int n){
// I am going noob
int l = 1, r = n;
while(l <= r){
int mid = (l + r) / 2;
Guess(l);
int try_ = Guess(r);
if(try_ == 0) return mid;
else if(try_ == 1) l = mid;
else r = mid;
}
return l;
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Execution timed out |
10022 ms |
1236 KB |
Time limit exceeded |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Execution timed out |
10082 ms |
1236 KB |
Time limit exceeded |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Execution timed out |
10080 ms |
1236 KB |
Time limit exceeded |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Execution timed out |
10068 ms |
8012 KB |
Time limit exceeded |