Submission #1214478

#TimeUsernameProblemLanguageResultExecution timeMemory
1214478cuenta_verdaderaCluedo (IOI10_cluedo)C++20
Compilation error
0 ms0 KiB
#include "grader.h" #include "cluedo.h" void Solve(){ int r,a=1,b=1,c=1; r=Theory(a,b,c); while(r!=0){ if (r == 1) a++; if (r == 2) b++; if (r == 3) c++; r=Theory(a,b,c); }

Compilation message (stderr)

cluedo.cpp: In function 'void Solve()':
cluedo.cpp:12:2: error: expected '}' at end of input
   12 | }
      |  ^
cluedo.cpp:4:13: note: to match this '{'
    4 | void Solve(){
      |             ^