foo.cc:3:1: error: expected identifier before 'int'
3 | int main()
| ^~~
foo.cc:2:16: error: expected ';' before 'int'
2 | using namespace
| ^
| ;
3 | int main()
| ~~~
foo.cc: In function 'int main()':
foo.cc:5:11: error: 'n' was not declared in this scope
5 | int a[n];
| ^
foo.cc:6:2: error: 'sjn' was not declared in this scope
6 | sjn;
| ^~~
foo.cc:7:2: error: 'bdx' was not declared in this scope
7 | bdx;
| ^~~
foo.cc:8:2: error: 'zddyag' was not declared in this scope
8 | zddyag;
| ^~~~~~
foo.cc:9:2: error: 'sca' was not declared in this scope; did you mean 'scanf'?
9 | sca;
| ^~~
| scanf
[Hydro](https://hydro.ac)提供评测服务