#include "grader.h"
///Subtask 1
///Linear Search
int HC(int N){
for(int i=1;i<=N;i++){
int ans=Guess(i);
if(ans==-1)
return i-1;
}
return N;
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
90 ms |
1400 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
90 ms |
1280 KB |
Output isn't correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
91 ms |
1280 KB |
Output isn't correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Execution timed out |
10084 ms |
24516 KB |
Time limit exceeded |