0_0_39507497_31088.cpp: In function 'int main()':
0_0_39507497_31088.cpp:83:30: error: expected ';' before 'for'
83 | scanf("%d",val+i)
| ^
| ;
84 | for (int i = 1; i <= m; i++)
| ~~~
0_0_39507497_31088.cpp:84:25: error: 'i' was not declared in this scope
84 | for (int i = 1; i <= m; i++)
| ^
|