0_0_29710678_7985.cpp:2:17: error: 'm3' does not name a type m3.M[i][j] += (x.M[i][k] % mod) * (y.M[k][j] % mod); ^ 0_0_29710678_7985.cpp:3:13: error: expected declaration before '}' token } ^