# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
41025 | baactree | Hotter Colder (IOI10_hottercolder) | C++14 | 748 ms | 8248 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"
int HC(int N){
int le, ri, mid;
le = 1;
ri = N;
while (le < ri){
int mid = (le + ri) / 2;
int a = Guess(le);
int b = Guess(ri);
if (!b)
return (le + ri) / 2;
if (b == 1)
le = mid + 1;
else
ri = mid;
}
return le;
}
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... |