Submission #994927

#TimeUsernameProblemLanguageResultExecution timeMemory
994927ducksaysquackCluedo (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); 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:7:8: error: 'r' was not declared in this scope
    7 |  while(r) v[r-1]++, r = Theory(v[0],v[1],v[2]);
      |        ^