Submission #994929

#TimeUsernameProblemLanguageResultExecution timeMemory
994929ducksaysquackCluedo (IOI10_cluedo)C++98
Compilation error
0 ms0 KiB
#include <bits/stdc++.h> #include "grader.h" #include "cluedo.h" using namespace std; void Solve(){ vector<int> v(3,1); r = Theory(v[0],v[1],v[2]); while(r) v[r-1]++, r = Theory(v[0],v[1],v[2]); return; }

Compilation message (stderr)

cluedo.cpp: In function 'void Solve()':
cluedo.cpp:6:22: error: 'r' was not declared in this scope
    6 |  vector<int> v(3,1); r = Theory(v[0],v[1],v[2]);
      |                      ^