Submission #72388

# Submission time Handle Problem Language Result Execution time Memory
72388 2018-08-26T07:38:25 Z (#2175, xdoju, kazel, pps789) Key of Impassable Doors (FXCUP3_key) C++17
0 / 100
5 ms 768 KB
#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
1 Correct 2 ms 248 KB Output is correct
2 Runtime error 5 ms 768 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 5 ms 768 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 5 ms 768 KB Execution failed because the return code was nonzero
3 Halted 0 ms 0 KB -