# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1077079 | boyliguanhan | Hotter Colder (IOI10_hottercolder) | C++17 | 0 ms | 0 KiB |
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"
int HC(int N){
int l=1,r=n;
while(l<r){
int mid=l+r>>1;
Guess(mid);
int x=Guess(mid+1);
if(x<0)
r=mid;
else l=mid+1;
}
return l;
}