#include "grader.h"
#include <bits/stdc++.h>
using namespace std;
int HC(int N){
if ( N == 1 ) {
return 1;
}
Guess(1);
for ( int i = 2; i <= N; i++ ) {
if ( Guess(i) == -1 ) {
return i - 1;
}
}
return N;
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
91 ms |
1280 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
92 ms |
1280 KB |
Output isn't correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
90 ms |
1364 KB |
Output isn't correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Execution timed out |
10026 ms |
24568 KB |
Time limit exceeded |