foo.c: In function 'ss':
foo.c:18:8: warning: unused variable 'b' [-Wunused-variable]
18 | int a,b;
| ^
foo.c: At top level:
foo.c:26:6: warning: return type of 'main' is not 'int' [-Wmain]
26 | void main()
| ^~~~
foo.c: In function 'main':
foo.c:30:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
30 | scanf("%d%d",&n1,&n2);
| ^~~~~~~~~~~~~~~~~~~~~
foo.c:33:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
33 | scanf("%d",&a[i]);
| ^~~~~~~~~~~~~~~~~
foo.c:37:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
37 | scanf("%d",&b[i]);
| ^~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务