Submission #545592

#TimeUsernameProblemLanguageResultExecution timeMemory
545592sebalejandro601Cluedo (IOI10_cluedo)C++14
Compilation error
0 ms0 KiB
nclude "grader.h" #include "cluedo.h" #include<bits/stdc++.h> using namespace std; void Solve(){ int r; int i=1,j=1,k=1; r=theory(i,j,k); while(r!=0) { if(r==1) i++; else if(r==2)j++; else if(r==3)k++; r=theory(i,j,k); } if(r==0) return; }

Compilation message (stderr)

cluedo.cpp:1:1: error: 'nclude' does not name a type
    1 | nclude "grader.h"
      | ^~~~~~
cluedo.cpp: In function 'void Solve()':
cluedo.cpp:8:7: error: 'theory' was not declared in this scope
    8 |     r=theory(i,j,k);
      |       ^~~~~~