# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
365130 | MilosMilutinovic | Hotter Colder (IOI10_hottercolder) | C++14 | 718 ms | 31724 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 Guess(int G);
int HC(int n){
int bot = 1, top = n;
while (bot <= top) {
int mid = bot + top >> 1;
int x = Guess(bot), y = Guess(top);
if (y == 0) {
return mid;
}
if (y < 0) {
top = mid - 1;
} else {
bot = mid + 1;
}
}
return bot;
}
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... |