0_0_38715277_21015.cpp: In function 'int main()':
0_0_38715277_21015.cpp:24:31: error: expected ';' before 'for'
24 | scanf("%d",&k)
| ^
| ;
25 | for(int i=1;i<=k;i++)
| ~~~
0_0_38715277_21015.cpp:25:29: error: 'i' was not declared in this scope
25 | for(int i=1;i<=k;i++)
| ^
|