Submission #367329

#TimeUsernameProblemLanguageResultExecution timeMemory
367329Limay123Cluedo (IOI10_cluedo)C++14
Compilation error
0 ms0 KiB
#include<bits/stdc++.h> using namespace std; void Solve(){ int as = 1, l = 1, a = 1; int pista = Theory(as,l,a); if(n == 0){ return; } else{ if(n == 1){ as++; } else if(n == 2){ l++; } else if(n == 3){ a++; } } }

Compilation message (stderr)

cluedo.cpp: In function 'void Solve()':
cluedo.cpp:6:16: error: 'Theory' was not declared in this scope
    6 |    int pista = Theory(as,l,a);
      |                ^~~~~~
cluedo.cpp:8:8: error: 'n' was not declared in this scope
    8 |     if(n == 0){
      |        ^
cluedo.cpp:6:8: warning: unused variable 'pista' [-Wunused-variable]
    6 |    int pista = Theory(as,l,a);
      |        ^~~~~