# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
927245 | 2024-02-14T13:49:28 Z | vjudge1 | Hotter Colder (IOI10_hottercolder) | C++11 | 494 ms | 55148 KB |
#include <bits/stdc++.h> using namespace std; int Guess(int); int HC(int n) { int l = 1, r = n, mid, resL, resR; while(l < r) { mid = (l + r) >> 1; resL = Guess(l); resR = Guess(r); if(resR == 1) { l = mid + 1; } else if(resR == -1) r = mid - 1; else { return (r + l) / 2; } } return r; }
Compilation message
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 27 ms | 12368 KB | Output isn't correct |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 23 ms | 12368 KB | Output isn't correct |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 23 ms | 12392 KB | Output isn't correct |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 494 ms | 55148 KB | Output isn't correct - alpha = 0.000000000000 |
2 | Halted | 0 ms | 0 KB | - |