Submission #1214465

#TimeUsernameProblemLanguageResultExecution timeMemory
1214465cuenta_verdaderaCluedo (IOI10_cluedo)C++20
Compilation error
0 ms0 KiB
#include <cassert> #include <bits/stdc++.h> #include <iostream> using namespace std; void Solve(){ int r,a=0,b=0,c=0; r = Theory(a,b,c); if (r == 1) Theory(a++,b,c); if (r == 2) Theory(a,b++,c); if (r == 3) Theory(a,b,c++); if (r == 0) return; }

Compilation message (stderr)

cluedo.cpp: In function 'void Solve()':
cluedo.cpp:9:8: error: 'Theory' was not declared in this scope
    9 |    r = Theory(a,b,c);
      |        ^~~~~~