Submission #434268

# Submission time Handle Problem Language Result Execution time Memory
434268 2021-06-20T20:44:36 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;
/* run this program using the console pauser or add your own getch, system("pause") or input loop */

void solve(100){
	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

cluedo.cpp:7:6: error: variable or field 'solve' declared void
    7 | void solve(100){
      |      ^~~~~