# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
754528 | 2023-06-07T23:14:20 Z | ValiAntonie | Hotter Colder (IOI10_hottercolder) | C++14 | 569 ms | 140708 KB |
#include "grader.h" #include<bits/stdc++.h> using namespace std; int Guess (int x); int HC(int N){ int st=1,dr=N; Guess(st); int a = Guess(dr); while(st!=dr){ int mij = (st+ dr) >> 1; if(a==-1){ dr= mij; } else if(a==1){//close to l st = mij + 1; } else return mij; Guess(st); int a = Guess(dr); } return st; }
Compilation message
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 35 ms | 17700 KB | Output isn't correct |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 35 ms | 17704 KB | Output isn't correct |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 39 ms | 17716 KB | Output isn't correct |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 569 ms | 140708 KB | Output isn't correct - alpha = 0.000000000000 |