# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
231096 | 2020-05-12T16:59:13 Z | muhammad_hokimiyon | Hotter Colder (IOI10_hottercolder) | C++14 | 783 ms | 136696 KB |
#include<bits/stdc++.h> #include "grader.h" using namespace std; int HC(int nn) { int l = 1 , r = nn; int ls = 0; while( l < r ){ int m = (l + r) / 2; int y2 = Guess( m + 1 ); if( y2 == -1 || (y2 == 0 && (l > 1 || r < nn)) ){ r = m; ls = m + 1; continue; } int y1 = Guess( m ); ls = m; if( y1 == -1 )l = m + 1; else r = m; } return l; }
Compilation message
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 43 ms | 14204 KB | Output isn't correct |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 42 ms | 14204 KB | Output isn't correct |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 44 ms | 14200 KB | Output isn't correct |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 783 ms | 136696 KB | Output isn't correct - alpha = 0.000000000000 |