foo.c: In function 'main':
foo.c:19:10: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'char (*)[10000]' [-Wformat=]
19 | scanf("%d%d",&s1,&s2);
| ~^ ~~~
| | |
| | char (*)[10000]
| int *
foo.c:19:12: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'char (*)[10000]' [-Wformat=]
19 | scanf("%d%d",&s1,&s2);
| ~^ ~~~
| | |
| int * char (*)[10000]
foo.c:19:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
19 | scanf("%d%d",&s1,&s2);
| ^~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务