Main.cc:2:17: error: ‘sdt’ is not a namespace-name
2 | using namespace sdt;
| ^~~
Main.cc: In function ‘int main()’:
Main.cc:6:5: error: ‘cin’ was not declared in this scope; did you mean ‘std::cin’?
6 | cin >> n >> m;
| ^~~
| std::cin
In file included from Main.cc:1:
/usr/include/c++/10/iostream:60:18: note: ‘std::cin’ declared here
60 | extern istream cin; /// Linked to standard input
| ^~~
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 | }
| ^