Submission #434265

# Submission time Handle Problem Language Result Execution time Memory
434265 2021-06-20T20:42:48 Z Icebear16 Cluedo (IOI10_cluedo) C++14
Compilation error
0 ms 0 KB
#include "cluedo.h"
//#include "cluedo.cpp"
#include "grader.h"
#include <bits/stdc++.h>
using namespace std;
/* run this program using the console pauser or add your own getch, system("pause") or input loop */

void solve(){
	int n,i=1,k=1,j=1;
	BEGIN:
	n=Theory(i,k,j);
	if(n==0){
		return;
	}else if(n==1){
		i+=1;
		goto BEGIN;
	}else if(n==2){
		k+=1;
		goto BEGIN;
	}else if(n==3){
		j+=1;
		goto BEGIN;
	}
}

Compilation message

/usr/bin/ld: /tmp/ccsWVq9w.o: in function `main':
grader.c:(.text.startup+0x49): undefined reference to `Solve()'
collect2: error: ld returned 1 exit status