Language: C

t[55],y[55],n,x,z;main(i){for(;n-2||!z++;){for(i=1;i<2||getchar()==44;scanf("%d",y+i++));if(i>n)for(n=i;--i;t[i]=y[i]+fmax(t[i],t[i-1]));elsefor(n=i,i=0;i++<n;t[i]=y[i]+fmax(t[i],t[i+1]));}n=!printf("%d\n",t[1]);}

Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | t[55],y[55],n,x,z;main(i){for(;n-2||!z++;){for(i=1;i<2||getchar()==44;scanf("%d",y+i++));if(i>n)for(n=i;--i;t[i]=y[i]+fmax(t[i],t[i-1]));elsefor(n=i,i=0;i++<n;t[i]=y[i]+fmax(t[i],t[i+1]));}n=!printf("%d\n",t[1]);}
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 't' [-Wimplicit-int]
main.c:1:7: error: type defaults to 'int' in declaration of 'y' [-Wimplicit-int]
    1 | t[55],y[55],n,x,z;main(i){for(;n-2||!z++;){for(i=1;i<2||getchar()==44;scanf("%d",y+i++));if(i>n)for(n=i;--i;t[i]=y[i]+fmax(t[i],t[i-1]));elsefor(n=i,i=0;i++<n;t[i]=y[i]+fmax(t[i],t[i+1]));}n=!printf("%d\n",t[1]);}
      |       ^
main.c:1:13: error: type defaults to 'int' in declaration of 'n' [-Wimplicit-int]
    1 | t[55],y[55],n,x,z;main(i){for(;n-2||!z++;){for(i=1;i<2||getchar()==44;scanf("%d",y+i++));if(i>n)for(n=i;--i;t[i]=y[i]+fmax(t[i],t[i-1]));elsefor(n=i,i=0;i++<n;t[i]=y[i]+fmax(t[i],t[i+1]));}n=!printf("%d\n",t[1]);}
      |             ^
main.c:1:15: error: type defaults to 'int' in declaration of 'x' [-Wimplicit-int]
    1 | t[55],y[55],n,x,z;main(i){for(;n-2||!z++;){for(i=1;i<2||getchar()==44;scanf("%d",y+i++));if(i>n)for(n=i;--i;t[i]=y[i]+fmax(t[i],t[i-1]));elsefor(n=i,i=0;i++<n;t[i]=y[i]+fmax(t[i],t[i+1]));}n=!printf("%d\n",t[1]);}
      |               ^
main.c:1:17: error: type defaults to 'int' in declaration of 'z' [-Wimplicit-int]
    1 | t[55],y[55],n,x,z;main(i){for(;n-2||!z++;){for(i=1;i<2||getchar()==44;scanf("%d",y+i++));if(i>n)for(n=i;--i;t[i]=y[i]+fmax(t[i],t[i-1]));elsefor(n=i,i=0;i++<n;t[i]=y[i]+fmax(t[i],t[i+1]));}n=!printf("%d\n",t[1]);}
      |                 ^
main.c:1:19: error: return type defaults to 'int' [-Wimplicit-int]
    1 | t[55],y[55],n,x,z;main(i){for(;n-2||!z++;){for(i=1;i<2||getchar()==44;scanf("%d",y+i++));if(i>n)for(n=i;--i;t[i]=y[i]+fmax(t[i],t[i-1]));elsefor(n=i,i=0;i++<n;t[i]=y[i]+fmax(t[i],t[i+1]));}n=!printf("%d\n",t[1]);}
      |                   ^~~~
main.c: In function 'main':
main.c:1:19: error: type of 'i' defaults to 'int' [-Wimplicit-int]
main.c:1:57: error: implicit declaration of function 'getchar' [-Wimplicit-function-declaration]
    1 | t[55],y[55],n,x,z;main(i){for(;n-2||!z++;){for(i=1;i<2||getchar()==44;scanf("%d",y+i++));if(i>n)for(n=i;--i;t[i]=y[i]+fmax(t[i],t[i-1]));elsefor(n=i,i=0;i++<n;t[i]=y[i]+fmax(t[i],t[i+1]));}n=!printf("%d\n",t[1]);}
      |                                                         ^~~~~~~
main.c:1:1: note: 'getchar' is defined in header '<stdio.h>'; this is probably fixable by adding '#include <stdio.h>'
  +++ |+#include <stdio.h>
    1 | t[55],y[55],n,x,z;main(i){for(;n-2||!z++;){for(i=1;i<2||getchar()==44;scanf("%d",y+i++));if(i>n)for(n=i;--i;t[i]=y[i]+fmax(t[i],t[i-1]));elsefor(n=i,i=0;i++<n;t[i]=y[i]+fmax(t[i],t[i+1]));}n=!printf("%d\n",t[1]);}
main.c:1:71: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    1 | t[55],y[55],n,x,z;main(i){for(;n-2||!z++;){for(i=1;i<2||getchar()==44;scanf("%d",y+i++));if(i>n)for(n=i;--i;t[i]=y[i]+fmax(t[i],t[i-1]));elsefor(n=i,i=0;i++<n;t[i]=y[i]+fmax(t[i],t[i+1]));}n=!printf("%d\n",t[1]);}
      |                                                                       ^~~~~
main.c:1:71: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:1:71: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
main.c:1:71: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:1:119: error: implicit declaration of function 'fmax' [-Wimplicit-function-declaration]
    1 | t[55],y[55],n,x,z;main(i){for(;n-2||!z++;){for(i=1;i<2||getchar()==44;scanf("%d",y+i++));if(i>n)for(n=i;--i;t[i]=y[i]+fmax(t[i],t[i-1]));elsefor(n=i,i=0;i++<n;t[i]=y[i]+fmax(t[i],t[i+1]));}n=!printf("%d\n",t[1]);}
      |                                                                                                                       ^~~~
main.c:1:1: note: include '<math.h>' or provide a declaration of 'fmax'
  +++ |+#include <math.h>
    1 | t[55],y[55],n,x,z;main(i){for(;n-2||!z++;){for(i=1;i<2||getchar()==44;scanf("%d",y+i++));if(i>n)for(n=i;--i;t[i]=y[i]+fmax(t[i],t[i-1]));elsefor(n=i,i=0;i++<n;t[i]=y[i]+fmax(t[i],t[i+1]));}n=!printf("%d\n",t[1]);}
main.c:1:119: warning: incompatible implicit declaration of built-in function 'fmax' [-Wbuiltin-declaration-mismatch]
    1 | t[55],y[55],n,x,z;main(i){for(;n-2||!z++;){for(i=1;i<2||getchar()==44;scanf("%d",y+i++));if(i>n)for(n=i;--i;t[i]=y[i]+fmax(t[i],t[i-1]));elsefor(n=i,i=0;i++<n;t[i]=y[i]+fmax(t[i],t[i+1]));}n=!printf("%d\n",t[1]);}
      |                                                                                                                       ^~~~
main.c:1:119: note: include '<math.h>' or provide a declaration of 'fmax'
main.c:1:138: error: implicit declaration of function 'elsefor' [-Wimplicit-function-declaration]
    1 | t[55],y[55],n,x,z;main(i){for(;n-2||!z++;){for(i=1;i<2||getchar()==44;scanf("%d",y+i++));if(i>n)for(n=i;--i;t[i]=y[i]+fmax(t[i],t[i-1]));elsefor(n=i,i=0;i++<n;t[i]=y[i]+fmax(t[i],t[i+1]));}n=!printf("%d\n",t[1]);}
      |                                                                                                                                          ^~~~~~~
main.c:1:153: error: expected ')' before ';' token
    1 | t[55],y[55],n,x,z;main(i){for(;n-2||!z++;){for(i=1;i<2||getchar()==44;scanf("%d",y+i++));if(i>n)for(n=i;--i;t[i]=y[i]+fmax(t[i],t[i-1]));elsefor(n=i,i=0;i++<n;t[i]=y[i]+fmax(t[i],t[i+1]));}n=!printf("%d\n",t[1]);}
      |                                                                                                                                                 ~       ^
      |                                                                                                                                                         )
main.c:1:193: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    1 | t[55],y[55],n,x,z;main(i){for(;n-2||!z++;){for(i=1;i<2||getchar()==44;scanf("%d",y+i++));if(i>n)for(n=i;--i;t[i]=y[i]+fmax(t[i],t[i-1]));elsefor(n=i,i=0;i++<n;t[i]=y[i]+fmax(t[i],t[i+1]));}n=!printf("%d\n",t[1]);}
      |                                                                                                                                                                                                 ^~~~~~
main.c:1:193: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:1:193: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:1:193: note: include '<stdio.h>' or provide a declaration of 'printf'