This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include"key.h"
void EnsureKeyInfo(int N){
for(int i=1;i<=N;i++) for(int j=1;j<=N;j++) if(i!=j){
TakeKey(i);
int one = Explore();
TakeKey(i); TakeKey(j);
int two = Explore();
if(one==two) Report(i, j);
}
for(int i=1;i<=N;i++) Report(i,i);
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |