Submission #119551

#TimeUsernameProblemLanguageResultExecution timeMemory
119551PlurmHotter Colder (IOI10_hottercolder)C++11
77 / 100
817 ms8180 KiB
#include "grader.h" #include <cstdio> int HC(int N){ int lo = 1; int hi = N; while(lo < hi){ Guess(lo); int r = Guess(hi); if(r > 0){ lo = (lo + hi)/2 + 1; }else if(r == 0){ return (lo + hi)/2; }else{ hi = (lo + hi - 1)/2; } } return lo; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...