Submission #1082728

#TimeUsernameProblemLanguageResultExecution timeMemory
1082728BorsHotter Colder (IOI10_hottercolder)C++17
0 / 100
479 ms132180 KiB
#include "grader.h" int HC(int n){ int l=1, r=n; while(l<r){ int ac=(l+r)/2; Guess(ac); int m=(ac+1+r)/2; int k=Guess(m); if(k==0){ return (ac+m)/2; } if(k==1){ l=ac+1; } if(k==-1){ r=ac; } } return l; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...