0_0_39802351_21478.cpp: In function 'int main()':
0_0_39802351_21478.cpp:12:17: error: expected primary-expression before 'for'
12 | for(int i = 1; i <= n; i++)
| ^~~
0_0_39802351_21478.cpp:11:49: error: expected ':' before 'for'
11 | for(int i = 1; i <= n; i++) cin >> a[i]?
| ^
| :
12 | for(int i = 1; i <= n; i++)
| ~~~
0_0_39802351_21478.cpp:12:17: error: expected primary-expression before 'for'
12 | for(int i = 1; i <= n; i++)
| ^~~
0_0_39802351_21478.cpp:12:32: error: 'i' was not declared in this scope
12 | for(int i = 1; i <= n; i++)
| ^
|