# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
651519 | 2022-10-19T07:58:16 Z | auresol | Hotter Colder (IOI10_hottercolder) | C++14 | 705 ms | 71576 KB |
#include "grader.h" int HC(int N){ int l = 1; int r = N; while(l != r){ int mid = (l+r)/2; int ismid = Guess(l); int determine = Guess(r); //cout << "l : " << l << " ,r : " << r << " determine : " << determine << "\n"; if(determine == 0){ //cout << (mid+1 + r)/2; return (mid+1 + r)/2; }else if(determine == 1){ l = mid+1; }else{ r = mid; } } //cout << l; return l; }
Compilation message
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 27 ms | 6860 KB | Output isn't correct |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 30 ms | 6964 KB | Output isn't correct |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 27 ms | 6876 KB | Output isn't correct |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 705 ms | 71576 KB | Output isn't correct - alpha = 0.000000000000 |