foo.c: In function 'main':
foo.c:19:18: warning: format '%d' expects argument of type 'int', but argument 2 has type 'size_t' {aka 'long unsigned int'} [-Wformat=]
19 | printf("%d %d",strlen(a)-1,strlen(b)-1);
| ~^ ~~~~~~~~~~~
| | |
| int size_t {aka long unsigned int}
| %ld
foo.c:19:21: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=]
19 | printf("%d %d",strlen(a)-1,strlen(b)-1);
| ~^ ~~~~~~~~~~~
| | |
| int size_t {aka long unsigned int}
| %ld
[Hydro](https://hydro.ac)提供评测服务