# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1010108 | 2024-06-28T10:32:29 Z | Nomio | Hotter Colder (IOI10_hottercolder) | C++17 | 359 ms | 8148 KB |
#include<bits/stdc++.h> using namespace std; int Guess(int G); int HC(int n) { int l = 1, r = n; while(l < r) { int mid = (l + r) / 2; int x = Guess(mid); int y = Guess(mid + 1); if(y == 1) { l = mid + 1; } else { r = mid; } } return l; }
Compilation message
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 16 ms | 1368 KB | Output is correct |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 15 ms | 1372 KB | Output is correct |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 15 ms | 1368 KB | Output isn't correct |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 359 ms | 8148 KB | Output isn't correct - alpha = 0.000000000000 |
2 | Halted | 0 ms | 0 KB | - |