Submission #377136

#TimeUsernameProblemLanguageResultExecution timeMemory
377136kevinxiehkCluedo (IOI10_cluedo)C++17
Compilation error
0 ms0 KiB
#include "grader.h" #include "cluedo.h" void Solve() { // TODO: implementation int a[5]; a[1]=1,a[2]=1,a[3]=1; t=Theory(a[1],a[2],a[3]); while(t!=0){ a[t]++; t=Theory(a[1],a[2],a[3]); } return; }

Compilation message (stderr)

cluedo.cpp: In function 'void Solve()':
cluedo.cpp:7:3: error: 't' was not declared in this scope
    7 |   t=Theory(a[1],a[2],a[3]);
      |   ^