# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
56221 | leejseo | Hotter Colder (IOI10_hottercolder) | C++98 | 806 ms | 8200 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>
int HC(int N){
int lo = 1, hi = N;
while (lo < hi){
Guess(lo);
int r = Guess(hi);
int mid = (lo + hi) >> 1;
if (r == 0) return mid;
if (r == 1) lo = mid+1;
else hi = (lo + hi - 1) >> 1;
}
return lo;
}
# | 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... |