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