0_0_39004949_12218.cpp: In function 'int main()':
0_0_39004949_12218.cpp:49:23: error: expected ';' before 'for'
49 | scanf("%d",&n)
| ^
| ;
50 | for(int i=1;i<=n;i++){
| ~~~
0_0_39004949_12218.cpp:50:21: error: 'i' was not declared in this scope
50 | for(int i=1;i<=n;i++){
| ^
|