# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1082725 | 2024-09-01T10:06:01 Z | Bors | Hotter Colder (IOI10_hottercolder) | C++17 | 577 ms | 157008 KB |
#include "grader.h" int HC(int n){ int l=1, r=n; int last=n/2; while(l<r){ int ac=(l+r)/2; Guess(ac); int k=Guess((ac+r)/2); if(k==0){ return ((ac)+(ac+r))/2; } if(k==1){ l=ac+1; } if(k==-1){ r=ac; } } return l; }
Compilation message
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 34 ms | 19280 KB | Output isn't correct |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 34 ms | 19528 KB | Output isn't correct |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 33 ms | 19292 KB | Output isn't correct |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 577 ms | 157008 KB | Output isn't correct - alpha = 0.000000000000 |
2 | Halted | 0 ms | 0 KB | - |