Main.cc: In function ‘int main()’:
Main.cc:14:35: error: expected ‘)’ before ‘}’ token
14 | for (int j = 0; j < m; j++}{
| ~ ^
| )
Main.cc:14:35: error: expected primary-expression before ‘}’ token
Main.cc:15:26: error: ‘i’ was not declared in this scope
15 | csum += (n - i) * (m - j);
| ^
Main.cc:15:36: error: ‘j’ was not declared in this scope
15 | csum += (n - i) * (m - j);
| ^
Main.cc: At global scope:
Main.cc:19:5: error: ‘cout’ does not name a type
19 | cout << zsum << " " << csum - zsum <<endl ;
| ^~~~
Main.cc:21:5: error: expected unqualified-id before ‘return’
21 | return 0;
| ^~~~~~
Main.cc:22:1: error: expected declaration before ‘}’ token
22 | }
| ^