foo.c:2:16: error: expected ';' before 'int'
2 | int arr[500000]
| ^
| ;
3 | int brr[500000]
| ~~~
foo.c:3:16: error: expected ';' before 'int'
3 | int brr[500000]
| ^
| ;
4 |
5 | int main()
| ~~~
foo.c: In function 'main':
foo.c:11:24: error: 'arr' undeclared (first use in this function)
11 | scanf("%d%d", &arr[i], &brr[i]);
| ^~~
foo.c:11:24: note: each undeclared identifier is reported only once for each function it appears in
foo.c:11:33: error: 'brr' undeclared (first use in this function)
11 | scanf("%d%d", &arr[i], &brr[i]);
| ^~~
foo.c:13:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
13 | if(N=6)
| ^
foo.c:16:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
16 | if(N=9)
| ^
[Hydro](https://hydro.ac)提供评测服务