| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 491676 | dxz05 | Hotter Colder (IOI10_hottercolder) | C++14 | 553 ms | 8148 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){
if (n == 1) return 1;
int g = Guess(1);
g = Guess(2);
if (g == -1) return 1;
int l = 2, r = n;
while (l <= r){
int m = (l + r) >> 1;
g = Guess(m - 1);
g = Guess(m);
if (g == 1){
l = m + 1;
} else r = m - 1;
}
return l - 1;
}
| # | 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... | ||||
