# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1008339 | 2024-06-26T09:37:25 Z | ALTAKEXE | Hotter Colder (IOI10_hottercolder) | C++17 | 0 ms | 0 KB |
#include <bits/stdc++.h> using namespace std; int HC(int N) { int g = Guess(1); int h = Guess(N); if (g == 0) return N / 2; if (g < 0) return N / 4; if (g > 0) return 3 * N / 4; return 0; }