제출 #715495

#제출 시각아이디문제언어결과실행 시간메모리
715495vjudge1Cluedo (IOI10_cluedo)C++17
컴파일 에러
0 ms0 KiB
#include "grader.h" #include "cluedo.h" void Solve(){ int a[4] = {1, 1, 1, 1}, x; do { x = Theory(a, b, c); a[x]++; } while (x); }

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

cluedo.cpp: In function 'void Solve()':
cluedo.cpp:8:21: error: 'b' was not declared in this scope
    8 |       x = Theory(a, b, c);
      |                     ^
cluedo.cpp:8:24: error: 'c' was not declared in this scope
    8 |       x = Theory(a, b, c);
      |                        ^