Language: C

char s[4005];u[4005],m,j,c,d;main(n){for(;d=~scanf("%s ",s,t);m=!printf("%d\n",m))for(n=strlen(s);d-10;d=getchar())for(j=n;j--;m<c?m=c:0)u[j+1]=c=s[j]-d?0:u[j]+1;}

Compiler output:
main.c:1:14: warning: data definition has no type or storage class
    1 | char s[4005];u[4005],m,j,c,d;main(n){for(;d=~scanf("%s ",s,t);m=!printf("%d\n",m))for(n=strlen(s);d-10;d=getchar())for(j=n;j--;m<c?m=c:0)u[j+1]=c=s[j]-d?0:u[j]+1;}
      |              ^
main.c:1:14: error: type defaults to 'int' in declaration of 'u' [-Wimplicit-int]
main.c:1:22: error: type defaults to 'int' in declaration of 'm' [-Wimplicit-int]
    1 | char s[4005];u[4005],m,j,c,d;main(n){for(;d=~scanf("%s ",s,t);m=!printf("%d\n",m))for(n=strlen(s);d-10;d=getchar())for(j=n;j--;m<c?m=c:0)u[j+1]=c=s[j]-d?0:u[j]+1;}
      |                      ^
main.c:1:24: error: type defaults to 'int' in declaration of 'j' [-Wimplicit-int]
    1 | char s[4005];u[4005],m,j,c,d;main(n){for(;d=~scanf("%s ",s,t);m=!printf("%d\n",m))for(n=strlen(s);d-10;d=getchar())for(j=n;j--;m<c?m=c:0)u[j+1]=c=s[j]-d?0:u[j]+1;}
      |                        ^
main.c:1:26: error: type defaults to 'int' in declaration of 'c' [-Wimplicit-int]
    1 | char s[4005];u[4005],m,j,c,d;main(n){for(;d=~scanf("%s ",s,t);m=!printf("%d\n",m))for(n=strlen(s);d-10;d=getchar())for(j=n;j--;m<c?m=c:0)u[j+1]=c=s[j]-d?0:u[j]+1;}
      |                          ^
main.c:1:28: error: type defaults to 'int' in declaration of 'd' [-Wimplicit-int]
    1 | char s[4005];u[4005],m,j,c,d;main(n){for(;d=~scanf("%s ",s,t);m=!printf("%d\n",m))for(n=strlen(s);d-10;d=getchar())for(j=n;j--;m<c?m=c:0)u[j+1]=c=s[j]-d?0:u[j]+1;}
      |                            ^
main.c:1:30: error: return type defaults to 'int' [-Wimplicit-int]
    1 | char s[4005];u[4005],m,j,c,d;main(n){for(;d=~scanf("%s ",s,t);m=!printf("%d\n",m))for(n=strlen(s);d-10;d=getchar())for(j=n;j--;m<c?m=c:0)u[j+1]=c=s[j]-d?0:u[j]+1;}
      |                              ^~~~
main.c: In function 'main':
main.c:1:30: error: type of 'n' defaults to 'int' [-Wimplicit-int]
main.c:1:46: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    1 | char s[4005];u[4005],m,j,c,d;main(n){for(;d=~scanf("%s ",s,t);m=!printf("%d\n",m))for(n=strlen(s);d-10;d=getchar())for(j=n;j--;m<c?m=c:0)u[j+1]=c=s[j]-d?0:u[j]+1;}
      |                                              ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | char s[4005];u[4005],m,j,c,d;main(n){for(;d=~scanf("%s ",s,t);m=!printf("%d\n",m))for(n=strlen(s);d-10;d=getchar())for(j=n;j--;m<c?m=c:0)u[j+1]=c=s[j]-d?0:u[j]+1;}
main.c:1:46: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    1 | char s[4005];u[4005],m,j,c,d;main(n){for(;d=~scanf("%s ",s,t);m=!printf("%d\n",m))for(n=strlen(s);d-10;d=getchar())for(j=n;j--;m<c?m=c:0)u[j+1]=c=s[j]-d?0:u[j]+1;}
      |                                              ^~~~~
main.c:1:46: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:1:60: error: 't' undeclared (first use in this function)
    1 | char s[4005];u[4005],m,j,c,d;main(n){for(;d=~scanf("%s ",s,t);m=!printf("%d\n",m))for(n=strlen(s);d-10;d=getchar())for(j=n;j--;m<c?m=c:0)u[j+1]=c=s[j]-d?0:u[j]+1;}
      |                                                            ^
main.c:1:60: note: each undeclared identifier is reported only once for each function it appears in
main.c:1:66: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    1 | char s[4005];u[4005],m,j,c,d;main(n){for(;d=~scanf("%s ",s,t);m=!printf("%d\n",m))for(n=strlen(s);d-10;d=getchar())for(j=n;j--;m<c?m=c:0)u[j+1]=c=s[j]-d?0:u[j]+1;}
      |                                                                  ^~~~~~
main.c:1:66: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:1:66: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:1:66: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:1:89: error: implicit declaration of function 'strlen' [-Wimplicit-function-declaration]
    1 | char s[4005];u[4005],m,j,c,d;main(n){for(;d=~scanf("%s ",s,t);m=!printf("%d\n",m))for(n=strlen(s);d-10;d=getchar())for(j=n;j--;m<c?m=c:0)u[j+1]=c=s[j]-d?0:u[j]+1;}
      |                                                                                         ^~~~~~
main.c:1:1: note: include '<string.h>' or provide a declaration of 'strlen'
  +++ |+#include <string.h>
    1 | char s[4005];u[4005],m,j,c,d;main(n){for(;d=~scanf("%s ",s,t);m=!printf("%d\n",m))for(n=strlen(s);d-10;d=getchar())for(j=n;j--;m<c?m=c:0)u[j+1]=c=s[j]-d?0:u[j]+1;}
main.c:1:89: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]
    1 | char s[4005];u[4005],m,j,c,d;main(n){for(;d=~scanf("%s ",s,t);m=!printf("%d\n",m))for(n=strlen(s);d-10;d=getchar())for(j=n;j--;m<c?m=c:0)u[j+1]=c=s[j]-d?0:u[j]+1;}
      |                                                                                         ^~~~~~
main.c:1:89: note: include '<string.h>' or provide a declaration of 'strlen'
main.c:1:106: error: implicit declaration of function 'getchar' [-Wimplicit-function-declaration]
    1 | char s[4005];u[4005],m,j,c,d;main(n){for(;d=~scanf("%s ",s,t);m=!printf("%d\n",m))for(n=strlen(s);d-10;d=getchar())for(j=n;j--;m<c?m=c:0)u[j+1]=c=s[j]-d?0:u[j]+1;}
      |                                                                                                          ^~~~~~~
main.c:1:106: note: 'getchar' is defined in header '<stdio.h>'; this is probably fixable by adding '#include <stdio.h>'