Submission #434268

#TimeUsernameProblemLanguageResultExecution timeMemory
434268Icebear16Cluedo (IOI10_cluedo)C++14
Compilation error
0 ms0 KiB
#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 (stderr)

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