# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1082729 | Bors | 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 "grader.h"
int HC(int n){
int l=1, r=n;
while(lcr){
int ac=(l+r)/2;
Guess(ac);
int m=(ac+1);
int k=Guess(m);
if(k>=0){
l=ac+1;
}
else{
r=ac;
}
}
return l;
}