#include<bits/stdc++.h>
using namespace std;
int Guess(int G);
int HC(int n) {
int x[n + 1];
for(int i = 1; i <= n; i++) {
x[i] = Guess(i);
}
for(int i = 1; i < n; i++) {
if(x[i + 1] == -1) {
return i;
}
}
return n;
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
98 ms |
1368 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
108 ms |
1372 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
115 ms |
1368 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Runtime error |
292 ms |
262144 KB |
Execution killed with signal 9 |
2 |
Halted |
0 ms |
0 KB |
- |