제출 #529136

#제출 시각아이디문제언어결과실행 시간메모리
529136Icebear16Cluedo (IOI10_cluedo)C++14
컴파일 에러
0 ms0 KiB
#include "cluedo.h"
//#include "grader.h"
#include <bits/stdc++.h>
using namespace std;
void solve(int i,int k,int j){
	int r;
  	i=1,k=1,j=1;
	BEGIN:
  	Theory(i,k,j);
	r=Theory(i,k,j);
	if(r==0){
		return;
	}else if(r==1){
		i+=1;
		goto BEGIN;
	}else if(r==2){
		k+=1;
		goto BEGIN;
	}else if(r==3){
		j+=1;
		goto BEGIN;
	}
}

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

cluedo.cpp: In function 'void solve(int, int, int)':
cluedo.cpp:9:4: error: 'Theory' was not declared in this scope
    9 |    Theory(i,k,j);
      |    ^~~~~~