Submission #722364

#TimeUsernameProblemLanguageResultExecution timeMemory
722364tvladm2009Hotter Colder (IOI10_hottercolder)C++17
50 / 100
650 ms24340 KiB
#include <bits/stdc++.h> #include "grader.h" using namespace std; typedef long long ll; int HC(int n) { int low = 1, high = n; while (low < high) { int mid = (low + high) / 2; Guess(low); int verdict = Guess(high); if (verdict == 0) { return mid; } else if (verdict == 1) { low = mid + 1; } else { high = mid; } } return low; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...