답안 #72087

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
72087 2018-08-26T05:11:32 Z BOJ 8481(#2179, veydpz, jh05013, 16silver) 통행이 제한된 저택 (FXCUP3_key) C++17
0 / 100
4 ms 612 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){Report(i, j); continue;}
        TakeKey(i);
        int rii = Explore();
        TakeKey(i); TakeKey(j);
        int rij = Explore();
        if(rii == rij) Report(i, j);
    }
}
# 결과 실행 시간 메모리 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 -
# 결과 실행 시간 메모리 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 -
# 결과 실행 시간 메모리 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 -