Submission #758616

#TimeUsernameProblemLanguageResultExecution timeMemory
758616SanguineChameleonHotter Colder (IOI10_hottercolder)C++17
77 / 100
574 ms24404 KiB
#include "grader.h" int HC(int N){ int lt = 1; int rt = N; while (lt < rt) { Guess(lt); int res = Guess(rt); if (res == 0) { return (lt + rt) / 2; } if (res == 1) { lt = (lt + rt) / 2 + 1; } else { rt = (lt + rt - 1) / 2; } } return lt; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...