Submission #569383

#TimeUsernameProblemLanguageResultExecution timeMemory
569383Aurora2005Cluedo (IOI10_cluedo)C++14
Compilation error
0 ms0 KiB
#include<bits/stdc++.h> #include"cluedo.h"; using namespace std; void Solve(){ int a=1,b=1,c=1; for(;;){ int t = Theory(a,b,c); if(t == 0) break; else if(t == 1) a++; else if(t == 2) b++; else c++; } return; }

Compilation message (stderr)

cluedo.cpp:2:19: warning: extra tokens at end of #include directive
    2 | #include"cluedo.h";
      |                   ^
cluedo.cpp: In function 'void Solve()':
cluedo.cpp:8:13: error: 'Theory' was not declared in this scope
    8 |     int t = Theory(a,b,c);
      |             ^~~~~~