Submission #1307604

#TimeUsernameProblemLanguageResultExecution timeMemory
1307604LBP139Cluedo (IOI10_cluedo)C++20
Compilation error
0 ms0 KiB
void solve(){ for(int i=1;i<=6;i++){ for(int j=1;j<=10;j++){ for(int k=1;k<=6;k++){ cout<<"Theory("<<i<<", "<<j<<", "<<k<<")"<<endl; } } } }

Compilation message (stderr)

cluedo.cpp: In function 'void solve()':
cluedo.cpp:5:17: error: 'cout' was not declared in this scope
    5 |                 cout<<"Theory("<<i<<", "<<j<<", "<<k<<")"<<endl;
      |                 ^~~~
cluedo.cpp:5:60: error: 'endl' was not declared in this scope
    5 |                 cout<<"Theory("<<i<<", "<<j<<", "<<k<<")"<<endl;
      |                                                            ^~~~