Submission #434299

# Submission time Handle Problem Language Result Execution time Memory
434299 2021-06-20T21:52:51 Z Icebear16 Cluedo (IOI10_cluedo) C++14
Compilation error
0 ms 0 KB
#include "cluedo.h"
//#include "grader.h"
#include <bits/stdc++.h>
using namespace std;
void solve(){
	int r,i=1,k=1,j=1;
	BEGIN:
	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;
	}
}

Compilation message

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