Submission #390504

#TimeUsernameProblemLanguageResultExecution timeMemory
390504SortingHotter Colder (IOI10_hottercolder)C++17
50 / 100
683 ms24380 KiB
#include "grader.h" #include <bits/stdc++.h> using namespace std; int HC(int n){ int l = 1, r = n; while(l != r){ //cout << l << " - " << r << endl; Guess(l); int g = Guess(r); int mid = (l + r) >> 1; if(!g) return mid; if(g == -1) r = mid; else l = mid + 1; } 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...