# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
41025 | 2018-02-12T05:57:44 Z | baactree | Hotter Colder (IOI10_hottercolder) | C++14 | 748 ms | 8248 KB |
#include "grader.h" int HC(int N){ int le, ri, mid; le = 1; ri = N; while (le < ri){ int mid = (le + ri) / 2; int a = Guess(le); int b = Guess(ri); if (!b) return (le + ri) / 2; if (b == 1) le = mid + 1; else ri = mid; } return le; }
Compilation message
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 27 ms | 1272 KB | Output is correct |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 28 ms | 1272 KB | Output is correct |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 29 ms | 1272 KB | Output isn't correct |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 748 ms | 8248 KB | Output isn't correct - alpha = 0.000000000000 |