#include "key.h"
void EnsureKeyInfo(int N) {
for(int i=1; i<=N; i++) for(int j=1; j<=N; j++){
if(i == j){Report(i, j); continue;}
TakeKey(i);
int rii = Explore();
TakeKey(i); TakeKey(j);
int rij = Explore();
if(rii == rij) Report(i, j);
}
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
2 ms |
248 KB |
Output is correct |
2 |
Runtime error |
4 ms |
612 KB |
Execution failed because the return code was nonzero |
3 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
2 ms |
248 KB |
Output is correct |
2 |
Runtime error |
4 ms |
612 KB |
Execution failed because the return code was nonzero |
3 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
2 ms |
248 KB |
Output is correct |
2 |
Runtime error |
4 ms |
612 KB |
Execution failed because the return code was nonzero |
3 |
Halted |
0 ms |
0 KB |
- |