Submission #768303

# Submission time Handle Problem Language Result Execution time Memory
768303 2023-06-27T21:27:57 Z simene Cluedo (IOI10_cluedo) C++14
Compilation error
0 ms 0 KB
#include"grader.h"
void Solve()for(int a,m[4]=0;a=Theory(m[1]+1,m[2]+1,m[3]+1);m[a]++)

Compilation message

cluedo.cpp:2:13: error: expected initializer before 'for'
    2 | void Solve()for(int a,m[4]=0;a=Theory(m[1]+1,m[2]+1,m[3]+1);m[a]++)
      |             ^~~
cluedo.cpp:2:30: error: 'a' does not name a type
    2 | void Solve()for(int a,m[4]=0;a=Theory(m[1]+1,m[2]+1,m[3]+1);m[a]++)
      |                              ^
cluedo.cpp:2:61: error: 'm' does not name a type
    2 | void Solve()for(int a,m[4]=0;a=Theory(m[1]+1,m[2]+1,m[3]+1);m[a]++)
      |                                                             ^