Submission #997710

#TimeUsernameProblemLanguageResultExecution timeMemory
997710SonicMLCluedo (IOI10_cluedo)C++14
Compilation error
0 ms0 KiB
#include "grader.h" #include "cluedo.h" void Solve() { int a, b, c; a = b = c = 1; int result = Theory(a, b, c); while(result != 0) { if(result == 1) { a++; }else if(result == 2) { b++; }else if(result == 3) { c++; } result = Theory(a, b, c); } return; } ~ ~

Compilation message (stderr)

cluedo.cpp:22:1: error: expected class-name before '~' token
   22 | ~
      | ^