foo.c: In function 'main':
foo.c:6:17: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'char (*)[10000]' [-Wformat=]
6 | scanf("%s%s",&A,&B);
| ~^ ~~
| | |
| | char (*)[10000]
| char *
foo.c:6:19: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'char (*)[10000]' [-Wformat=]
6 | scanf("%s%s",&A,&B);
| ~^ ~~
| | |
| | char (*)[10000]
| char *
foo.c:7:20: error: expected expression before 'int'
7 | int lena = int(strlen(A));
| ^~~
foo.c:8:20: error: expected expression before 'int'
8 | int lenb = int(strlen(B));
| ^~~
[Hydro](https://hydro.ac)提供评测服务