# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
1126729 | m_bezrutchka | Hotter Colder (IOI10_hottercolder) | C++20 | 546 ms | 8220 KiB |
#include "grader.h"
int _hc(int l, int r) {
if (l == r) return l;
Guess(l);
int g = Guess(r);
int m = (l + r) / 2;
if (g == 0) return m;
if (g == -1) return _hc(l, m);
else return _hc(m + 1, r);
}
int HC(int N) {
return _hc(1, N);
}
# | 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... |