foo.c: In function 'main':
foo.c:6:25: error: expected ')' before 's2'
6 | scanf("%s %s",s1 s2);
| ~ ^~~
| )
foo.c:6:20: warning: format '%s' expects a matching 'char *' argument [-Wformat=]
6 | scanf("%s %s",s1 s2);
| ~^
| |
| char *
foo.c:7:19: warning: implicit declaration of function 'Diff' [-Wimplicit-function-declaration]
7 | printf("%d %d",Diff(s1) Diff(s2));
| ^~~~
foo.c:7:27: error: expected ')' before 'Diff'
7 | printf("%d %d",Diff(s1) Diff(s2));
| ~ ^~~~~
| )
foo.c:7:16: warning: format '%d' expects a matching 'int' argument [-Wformat=]
7 | printf("%d %d",Diff(s1) Diff(s2));
| ~^
| |
| int
foo.c:5:24: warning: unused variable 's2' [-Wunused-variable]
5 | char s1[10000]={0},s2[10000]={0};
| ^~
foo.c: In function 'Diff':
foo.c:16:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
16 | if(s[k]>='a'&&s[k]<='z')
| ^~
foo.c:18:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
18 | if(s[k]>='A'&&s[k]<='Z')
| ^~
[Hydro](https://hydro.ac)提供评测服务