Language: C

S[2],i;main(a){for(;~scanf("%d",&a);++i-8||printf("%.f\n",fmax(*S,S[1]))S[i/4]+=a;}

Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | S[2],i;main(a){for(;~scanf("%d",&a);++i-8||printf("%.f\n",fmax(*S,S[1]))S[i/4]+=a;}
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 'S' [-Wimplicit-int]
main.c:1:6: error: type defaults to 'int' in declaration of 'i' [-Wimplicit-int]
    1 | S[2],i;main(a){for(;~scanf("%d",&a);++i-8||printf("%.f\n",fmax(*S,S[1]))S[i/4]+=a;}
      |      ^
main.c:1:8: error: return type defaults to 'int' [-Wimplicit-int]
    1 | S[2],i;main(a){for(;~scanf("%d",&a);++i-8||printf("%.f\n",fmax(*S,S[1]))S[i/4]+=a;}
      |        ^~~~
main.c: In function 'main':
main.c:1:8: error: type of 'a' defaults to 'int' [-Wimplicit-int]
main.c:1:22: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    1 | S[2],i;main(a){for(;~scanf("%d",&a);++i-8||printf("%.f\n",fmax(*S,S[1]))S[i/4]+=a;}
      |                      ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | S[2],i;main(a){for(;~scanf("%d",&a);++i-8||printf("%.f\n",fmax(*S,S[1]))S[i/4]+=a;}
main.c:1:22: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    1 | S[2],i;main(a){for(;~scanf("%d",&a);++i-8||printf("%.f\n",fmax(*S,S[1]))S[i/4]+=a;}
      |                      ^~~~~
main.c:1:22: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:1:44: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    1 | S[2],i;main(a){for(;~scanf("%d",&a);++i-8||printf("%.f\n",fmax(*S,S[1]))S[i/4]+=a;}
      |                                            ^~~~~~
main.c:1:44: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:1:44: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:1:44: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:1:59: error: implicit declaration of function 'fmax' [-Wimplicit-function-declaration]
    1 | S[2],i;main(a){for(;~scanf("%d",&a);++i-8||printf("%.f\n",fmax(*S,S[1]))S[i/4]+=a;}
      |                                                           ^~~~
main.c:1:1: note: include '<math.h>' or provide a declaration of 'fmax'
  +++ |+#include <math.h>
    1 | S[2],i;main(a){for(;~scanf("%d",&a);++i-8||printf("%.f\n",fmax(*S,S[1]))S[i/4]+=a;}
main.c:1:59: warning: incompatible implicit declaration of built-in function 'fmax' [-Wbuiltin-declaration-mismatch]
    1 | S[2],i;main(a){for(;~scanf("%d",&a);++i-8||printf("%.f\n",fmax(*S,S[1]))S[i/4]+=a;}
      |                                                           ^~~~
main.c:1:59: note: include '<math.h>' or provide a declaration of 'fmax'
main.c:1:73: error: expected ')' before 'S'
    1 | S[2],i;main(a){for(;~scanf("%d",&a);++i-8||printf("%.f\n",fmax(*S,S[1]))S[i/4]+=a;}
      |                   ~                                                     ^
      |                                                                         )
main.c:1:83: error: expected expression before '}' token
    1 | S[2],i;main(a){for(;~scanf("%d",&a);++i-8||printf("%.f\n",fmax(*S,S[1]))S[i/4]+=a;}
      |                                                                                   ^