Language: C

m[]={2189,89,1232,866,1796,2603},a,b,c,r;main(d){for(char s[9];~scanf("%s",s);r+=a%3?b%3?(b+6-a)%6<3?2:5:3+!b:a?6:1)*s<65?printf(r?"%d\n":0,r),a=c=r=0,b=1:*s%6-4?d=(*s-78?*s%5-1:0)+c&3,a=m[a]>>3*d&7,b=m[b]>>3*d&7:(c+=*s+3);}

Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | m[]={2189,89,1232,866,1796,2603},a,b,c,r;main(d){for(char s[9];~scanf("%s",s);r+=a%3?b%3?(b+6-a)%6<3?2:5:3+!b:a?6:1)*s<65?printf(r?"%d\n":0,r),a=c=r=0,b=1:*s%6-4?d=(*s-78?*s%5-1:0)+c&3,a=m[a]>>3*d&7,b=m[b]>>3*d&7:(c+=*s+3);}
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 'm' [-Wimplicit-int]
main.c:1:34: error: type defaults to 'int' in declaration of 'a' [-Wimplicit-int]
    1 | m[]={2189,89,1232,866,1796,2603},a,b,c,r;main(d){for(char s[9];~scanf("%s",s);r+=a%3?b%3?(b+6-a)%6<3?2:5:3+!b:a?6:1)*s<65?printf(r?"%d\n":0,r),a=c=r=0,b=1:*s%6-4?d=(*s-78?*s%5-1:0)+c&3,a=m[a]>>3*d&7,b=m[b]>>3*d&7:(c+=*s+3);}
      |                                  ^
main.c:1:36: error: type defaults to 'int' in declaration of 'b' [-Wimplicit-int]
    1 | m[]={2189,89,1232,866,1796,2603},a,b,c,r;main(d){for(char s[9];~scanf("%s",s);r+=a%3?b%3?(b+6-a)%6<3?2:5:3+!b:a?6:1)*s<65?printf(r?"%d\n":0,r),a=c=r=0,b=1:*s%6-4?d=(*s-78?*s%5-1:0)+c&3,a=m[a]>>3*d&7,b=m[b]>>3*d&7:(c+=*s+3);}
      |                                    ^
main.c:1:38: error: type defaults to 'int' in declaration of 'c' [-Wimplicit-int]
    1 | m[]={2189,89,1232,866,1796,2603},a,b,c,r;main(d){for(char s[9];~scanf("%s",s);r+=a%3?b%3?(b+6-a)%6<3?2:5:3+!b:a?6:1)*s<65?printf(r?"%d\n":0,r),a=c=r=0,b=1:*s%6-4?d=(*s-78?*s%5-1:0)+c&3,a=m[a]>>3*d&7,b=m[b]>>3*d&7:(c+=*s+3);}
      |                                      ^
main.c:1:40: error: type defaults to 'int' in declaration of 'r' [-Wimplicit-int]
    1 | m[]={2189,89,1232,866,1796,2603},a,b,c,r;main(d){for(char s[9];~scanf("%s",s);r+=a%3?b%3?(b+6-a)%6<3?2:5:3+!b:a?6:1)*s<65?printf(r?"%d\n":0,r),a=c=r=0,b=1:*s%6-4?d=(*s-78?*s%5-1:0)+c&3,a=m[a]>>3*d&7,b=m[b]>>3*d&7:(c+=*s+3);}
      |                                        ^
main.c:1:42: error: return type defaults to 'int' [-Wimplicit-int]
    1 | m[]={2189,89,1232,866,1796,2603},a,b,c,r;main(d){for(char s[9];~scanf("%s",s);r+=a%3?b%3?(b+6-a)%6<3?2:5:3+!b:a?6:1)*s<65?printf(r?"%d\n":0,r),a=c=r=0,b=1:*s%6-4?d=(*s-78?*s%5-1:0)+c&3,a=m[a]>>3*d&7,b=m[b]>>3*d&7:(c+=*s+3);}
      |                                          ^~~~
main.c: In function 'main':
main.c:1:42: error: type of 'd' defaults to 'int' [-Wimplicit-int]
main.c:1:65: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    1 | m[]={2189,89,1232,866,1796,2603},a,b,c,r;main(d){for(char s[9];~scanf("%s",s);r+=a%3?b%3?(b+6-a)%6<3?2:5:3+!b:a?6:1)*s<65?printf(r?"%d\n":0,r),a=c=r=0,b=1:*s%6-4?d=(*s-78?*s%5-1:0)+c&3,a=m[a]>>3*d&7,b=m[b]>>3*d&7:(c+=*s+3);}
      |                                                                 ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | m[]={2189,89,1232,866,1796,2603},a,b,c,r;main(d){for(char s[9];~scanf("%s",s);r+=a%3?b%3?(b+6-a)%6<3?2:5:3+!b:a?6:1)*s<65?printf(r?"%d\n":0,r),a=c=r=0,b=1:*s%6-4?d=(*s-78?*s%5-1:0)+c&3,a=m[a]>>3*d&7,b=m[b]>>3*d&7:(c+=*s+3);}
main.c:1:65: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    1 | m[]={2189,89,1232,866,1796,2603},a,b,c,r;main(d){for(char s[9];~scanf("%s",s);r+=a%3?b%3?(b+6-a)%6<3?2:5:3+!b:a?6:1)*s<65?printf(r?"%d\n":0,r),a=c=r=0,b=1:*s%6-4?d=(*s-78?*s%5-1:0)+c&3,a=m[a]>>3*d&7,b=m[b]>>3*d&7:(c+=*s+3);}
      |                                                                 ^~~~~
main.c:1:65: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:1:123: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    1 | m[]={2189,89,1232,866,1796,2603},a,b,c,r;main(d){for(char s[9];~scanf("%s",s);r+=a%3?b%3?(b+6-a)%6<3?2:5:3+!b:a?6:1)*s<65?printf(r?"%d\n":0,r),a=c=r=0,b=1:*s%6-4?d=(*s-78?*s%5-1:0)+c&3,a=m[a]>>3*d&7,b=m[b]>>3*d&7:(c+=*s+3);}
      |                                                                                                                           ^~~~~~
main.c:1:123: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:1:123: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:1:123: note: include '<stdio.h>' or provide a declaration of 'printf'