Submission #927246

#TimeUsernameProblemLanguageResultExecution timeMemory
927246vjudge1Hotter Colder (IOI10_hottercolder)C++11
0 / 100
10035 ms8044 KiB
#include <bits/stdc++.h> using namespace std; int Guess(int); int HC(int n) { int l = 1, r = n, res; while(true) { Guess(l); res = Guess(r); if(res == 1) l++; else if(res == -1) r--; else { return (r + l) >> 1; } } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...