제출 #1353604

#제출 시각아이디문제언어결과실행 시간메모리
1353604ChinguunCluedo (IOI10_cluedo)C++20
컴파일 에러
0 ms0 KiB
void Solve(){
    int r;
    bool f1 = 0, f2 = 0, f3 = 0;
    for (int m = 1; m <= 6; m++) {
		for (int l = 1; l <= 10; l++) {
			for (int w = 1; w <= 6; w++) {
				r = Theory(m, l, w);
				if (!r) {
					return;
				}
			}
		}
    }
}

컴파일 시 표준 에러 (stderr) 메시지

cluedo.cpp: In function 'void Solve()':
cluedo.cpp:7:37: error: 'Theory' was not declared in this scope
    7 |                                 r = Theory(m, l, w);
      |                                     ^~~~~~