Submission #434286

#TimeUsernameProblemLanguageResultExecution timeMemory
434286Icebear16Cluedo (IOI10_cluedo)C++14
Compilation error
0 ms0 KiB
#include "cluedo.h" #include "cluedo.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 */ int y=100; while(y--){ 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 (stderr)

cluedo.cpp:8:1: error: expected unqualified-id before 'while'
    8 | while(y--){
      | ^~~~~