Submission #341218

#TimeUsernameProblemLanguageResultExecution timeMemory
341218BlancaHMCluedo (IOI10_cluedo)C++14
Compilation error
0 ms0 KiB
void Solve() { int asesino = 1; int arma = 1; int lugar = 1; int pista; while(true) { pista = Theory(asesino, lugar, arma); if (pista == 0) return; else if (pista == 1) asesino++; else if (pista == 2) lugar++; else arma++; } }

Compilation message (stderr)

cluedo.cpp: In function 'void Solve()':
cluedo.cpp:7:11: error: 'Theory' was not declared in this scope
    7 |   pista = Theory(asesino, lugar, arma);
      |           ^~~~~~