Language: C

b,o,s;main(a){for(scanf("%*d");~scanf("%s",&a);)
        {
                /*if(a%3){
                        if(a&1){
                                if(!(++o%3)){
                                        printf("%d\n",b>3?s+b-3:s),b=s=0;
                                }
                        }
                        else{
                                b++;
                        }
                }
                else{
                        s+=b+1,b=0;
                }*/
                a%3?a&1?++o%3?:(s=!printf("%d\n",b>3?s+b-3:s),b=0):b++:(s+=b+1,$
        }
}

Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | b,o,s;main(a){for(scanf("%*d");~scanf("%s",&a);)
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 'b' [-Wimplicit-int]
main.c:1:3: error: type defaults to 'int' in declaration of 'o' [-Wimplicit-int]
    1 | b,o,s;main(a){for(scanf("%*d");~scanf("%s",&a);)
      |   ^
main.c:1:5: error: type defaults to 'int' in declaration of 's' [-Wimplicit-int]
    1 | b,o,s;main(a){for(scanf("%*d");~scanf("%s",&a);)
      |     ^
main.c:1:7: error: return type defaults to 'int' [-Wimplicit-int]
    1 | b,o,s;main(a){for(scanf("%*d");~scanf("%s",&a);)
      |       ^~~~
main.c: In function 'main':
main.c:1:7: error: type of 'a' defaults to 'int' [-Wimplicit-int]
main.c:1:19: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    1 | b,o,s;main(a){for(scanf("%*d");~scanf("%s",&a);)
      |                   ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | b,o,s;main(a){for(scanf("%*d");~scanf("%s",&a);)
main.c:1:19: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    1 | b,o,s;main(a){for(scanf("%*d");~scanf("%s",&a);)
      |                   ^~~~~
main.c:1:19: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:16:36: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
   16 |                 a%3?a&1?++o%3?:(s=!printf("%d\n",b>3?s+b-3:s),b=0):b++:(s+=b+1,$
      |                                    ^~~~~~
main.c:16:36: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:16:36: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:16:36: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:16:80: error: '$' undeclared (first use in this function)
   16 |                 a%3?a&1?++o%3?:(s=!printf("%d\n",b>3?s+b-3:s),b=0):b++:(s+=b+1,$
      |                                                                                ^
main.c:16:80: note: each undeclared identifier is reported only once for each function it appears in
main.c:16:81: error: expected ')' before '}' token
   16 |                 a%3?a&1?++o%3?:(s=!printf("%d\n",b>3?s+b-3:s),b=0):b++:(s+=b+1,$
      |                                                                        ~        ^
      |                                                                                 )
   17 |         }
      |         ~                                                                        
main.c:16:81: error: expected ';' before '}' token
   16 |                 a%3?a&1?++o%3?:(s=!printf("%d\n",b>3?s+b-3:s),b=0):b++:(s+=b+1,$
      |                                                                                 ^
      |                                                                                 ;
   17 |         }
      |         ~