//#include "hottercolder.h"
#include "grader.h"
#include <bits/stdc++.h>
using namespace std;
int HC(int N){
int low=1,hi=N;
while(low<hi){
int mid=(low+hi)/2;
Guess(low);
int a=Guess(hi);
if(a<0) hi=mid;
else if(a>0) low=mid+1;
else return mid;
}
return low;
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
24 ms |
1228 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
23 ms |
1300 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
27 ms |
1300 KB |
Output isn't correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
695 ms |
24368 KB |
Output isn't correct - alpha = 0.000000000000 |