foo.cc:3:1: error: 'count' does not name a type
3 | count int n=10;
| ^~~~~
foo.cc:4:7: error: 'n' was not declared in this scope
4 | int a[n=1];
| ^
foo.cc: In function 'int main()':
foo.cc:7:18: error: 'n' was not declared in this scope
7 | for(int i=1;i<=n;i++)cin>>a[i]
| ^
foo.cc:7:29: error: 'a' was not declared in this scope
7 | for(int i=1;i<=n;i++)cin>>a[i]
| ^
foo.cc:8:15: error: 'i' was not declared in this scope
8 | for(int i=1;i<=n-1;i++)
| ^
foo.cc:8:18: error: 'n' was not declared in this scope
8 | for(int i=1;i<=n-1;i++)
| ^
foo.cc:9:16: error: 'j' was not declared in this scope
9 | for(int j=1;j<=n;j++)
| ^
foo.cc:12:34: error: 'a' was not declared in this scope
12 | for(int i=1;i<=n;i++)cout<<" "<<a[i];
| ^
[Hydro](https://hydro.ac)提供评测服务