This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
//#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 |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |