제출 #1311174

#제출 시각아이디문제언어결과실행 시간메모리
1311174pwalCluedo (IOI10_cluedo)C++20
컴파일 에러
0 ms0 KiB
void Solve()
{
int m=1,l=1,w=1;
int res=Theory(m,l,w);
while(res!=0)
{
  if(res==1)++m;
  else if(res==2)++l;
  else ++w;
  res=Theory(m,l,w);
}
}

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

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