Submission #956593

#TimeUsernameProblemLanguageResultExecution timeMemory
956593DeltaStructCluedo (IOI10_cluedo)C++17
Compilation error
0 ms0 KiB
#include "cluedo.h" #include <bits/stdc++.h> using namespace std; void Solve(){ vector<int> A(3,1); int r; do { r = Theory(A[0],A[1],A[2]); if (r) ++A[r-1]; } while(r); }

Compilation message (stderr)

cluedo.cpp: In function 'void Solve()':
cluedo.cpp:6:39: error: 'Theory' was not declared in this scope
    6 |   vector<int> A(3,1); int r; do { r = Theory(A[0],A[1],A[2]); if (r) ++A[r-1]; } while(r);
      |                                       ^~~~~~