# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
423067 | 2021-06-10T16:56:32 Z | chirathnirodha | Hotter Colder (IOI10_hottercolder) | C++17 | 682 ms | 8096 KB |
#include "grader.h" #include<bits/stdc++.h> using namespace std; int HC(int N){ int l=1,r=N; if(N==1)return 1; while(l<r){ Guess(l); int x=Guess(r); if(x==0)return (l+r)/2; else if(x==1)l=(l+r+1)/2; else r=(l+r-1)/2; } }
Compilation message
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 29 ms | 1228 KB | Output is correct |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 25 ms | 1292 KB | Output isn't correct |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 25 ms | 1228 KB | Output isn't correct |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 682 ms | 8096 KB | Output isn't correct - alpha = 0.000000000000 |