# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1010108 | Nomio | Hotter Colder (IOI10_hottercolder) | C++17 | 359 ms | 8148 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include<bits/stdc++.h>
using namespace std;
int Guess(int G);
int HC(int n) {
int l = 1, r = n;
while(l < r) {
int mid = (l + r) / 2;
int x = Guess(mid);
int y = Guess(mid + 1);
if(y == 1) {
l = mid + 1;
} else {
r = mid;
}
}
return l;
}
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |