제출 #1214465

#제출 시각아이디문제언어결과실행 시간메모리
1214465cuenta_verdaderaCluedo (IOI10_cluedo)C++20
컴파일 에러
0 ms0 KiB
#include <cassert> #include <bits/stdc++.h> #include <iostream> using namespace std; void Solve(){ int r,a=0,b=0,c=0; r = Theory(a,b,c); if (r == 1) Theory(a++,b,c); if (r == 2) Theory(a,b++,c); if (r == 3) Theory(a,b,c++); if (r == 0) return; }

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

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