# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1011751 | 2024-07-01T08:01:11 Z | uranhishig | Hotter Colder (IOI10_hottercolder) | C++14 | 181 ms | 16180 KB |
#include <bits/stdc++.h> using namespace std; int Guess(int G); int HC(int n){ int q = 0, i; bool x = true; bool xx = true; for(int i = 1; i <= 500; i++){ int w = Guess(i); if(w == -1){ if(xx){ q = i; xx = false; } x = false; } } if(x){ cout << "500" << endl; } else{ cout << q - 1 << endl; } }
Compilation message
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Runtime error | 11 ms | 13404 KB | Execution killed with signal 11 |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Runtime error | 11 ms | 13404 KB | Execution killed with signal 11 |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Runtime error | 11 ms | 13404 KB | Execution killed with signal 11 |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Runtime error | 181 ms | 16180 KB | Execution killed with signal 11 |
2 | Halted | 0 ms | 0 KB | - |