# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1011757 | 2024-07-01T08:03:55 Z | uranhishig | Hotter Colder (IOI10_hottercolder) | C++14 | 2586 ms | 262144 KB |
#include <bits/stdc++.h> #include "grader.h" using namespace std; int Guess(int G); int HC(int n){ int q = 0, i; int w[501]; bool x = true; bool xx = true; for(int i = 1; i <= 500; i++){ w[i] = Guess(i); if(w[i] == -1){ if(xx){ q = i; xx = false; } x = false; } } if(x){ return 500; } else{ return q - 1; } }
Compilation message
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Runtime error | 2375 ms | 262144 KB | Execution killed with signal 9 |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Runtime error | 2508 ms | 262144 KB | Execution killed with signal 9 |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Runtime error | 2419 ms | 262144 KB | Execution killed with signal 9 |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Runtime error | 2586 ms | 262144 KB | Execution killed with signal 9 |
2 | Halted | 0 ms | 0 KB | - |