# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
56132 | leejseo | Hotter Colder (IOI10_hottercolder) | C++98 | 808 ms | 8056 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 <stdio.h>
#include <algorithm>
int HC(int N){
int lo = 1, hi = N;
while (lo < hi){
int left = Guess(lo);
int right = Guess(hi);
int mid = (lo + hi) >> 1;
if (right == 0) return mid;
if (right == 1) lo = mid+1;
else hi = mid;
}
return lo;
}
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... |