0_0_39432073_31934.cpp: In function 'int main()':
0_0_39432073_31934.cpp:8:25: error: expected ';' before 'for'
8 | cin >> n
| ^
| ;
9 | for (int i = 1; i <= n; ++i) {
| ~~~
0_0_39432073_31934.cpp:9:33: error: 'i' was not declared in this scope
9 | for (int i = 1; i <= n; ++i) {
| ^
|