제출 #72388

#제출 시각아이디문제언어결과실행 시간메모리
72388 (#118)Key of Impassable Doors (FXCUP3_key)C++17
0 / 100
5 ms768 KiB
#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 timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...