# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
102415 | SpeedOfMagic | Hotter Colder (IOI10_hottercolder) | C++17 | 771 ms | 8312 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 "grader.h"
#include <bits/stdc++.h>
using namespace std;
int HC(int N){
int l = 1, r = N;
while (l < r) {
int mid = (l + r) >> 1;
int a = Guess(mid), b = Guess(min(mid + 2, r));
if (b == -1)
r = mid;
else if (b == 0)
return mid + 1;
else
l = min(mid + 2, r);
}
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... |