Language: C

n=99999,c[n],i,t;long long r;char s[n];main(){for(scanf("%s",s);i<strlen(s);i++)r+=c[t+=81-2*s[i]]++;printf("%lld\n",r);exit(0);}

Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | n=99999,c[n],i,t;long long r;char s[n];main(){for(scanf("%s",s);i<strlen(s);i++)r+=c[t+=81-2*s[i]]++;printf("%lld\n",r);exit(0);}
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 'n' [-Wimplicit-int]
main.c:1:9: error: type defaults to 'int' in declaration of 'c' [-Wimplicit-int]
    1 | n=99999,c[n],i,t;long long r;char s[n];main(){for(scanf("%s",s);i<strlen(s);i++)r+=c[t+=81-2*s[i]]++;printf("%lld\n",r);exit(0);}
      |         ^
main.c:1:9: error: variably modified 'c' at file scope
main.c:1:14: error: type defaults to 'int' in declaration of 'i' [-Wimplicit-int]
    1 | n=99999,c[n],i,t;long long r;char s[n];main(){for(scanf("%s",s);i<strlen(s);i++)r+=c[t+=81-2*s[i]]++;printf("%lld\n",r);exit(0);}
      |              ^
main.c:1:16: error: type defaults to 'int' in declaration of 't' [-Wimplicit-int]
    1 | n=99999,c[n],i,t;long long r;char s[n];main(){for(scanf("%s",s);i<strlen(s);i++)r+=c[t+=81-2*s[i]]++;printf("%lld\n",r);exit(0);}
      |                ^
main.c:1:35: error: variably modified 's' at file scope
    1 | n=99999,c[n],i,t;long long r;char s[n];main(){for(scanf("%s",s);i<strlen(s);i++)r+=c[t+=81-2*s[i]]++;printf("%lld\n",r);exit(0);}
      |                                   ^
main.c:1:40: error: return type defaults to 'int' [-Wimplicit-int]
    1 | n=99999,c[n],i,t;long long r;char s[n];main(){for(scanf("%s",s);i<strlen(s);i++)r+=c[t+=81-2*s[i]]++;printf("%lld\n",r);exit(0);}
      |                                        ^~~~
main.c: In function 'main':
main.c:1:51: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    1 | n=99999,c[n],i,t;long long r;char s[n];main(){for(scanf("%s",s);i<strlen(s);i++)r+=c[t+=81-2*s[i]]++;printf("%lld\n",r);exit(0);}
      |                                                   ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | n=99999,c[n],i,t;long long r;char s[n];main(){for(scanf("%s",s);i<strlen(s);i++)r+=c[t+=81-2*s[i]]++;printf("%lld\n",r);exit(0);}
main.c:1:51: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    1 | n=99999,c[n],i,t;long long r;char s[n];main(){for(scanf("%s",s);i<strlen(s);i++)r+=c[t+=81-2*s[i]]++;printf("%lld\n",r);exit(0);}
      |                                                   ^~~~~
main.c:1:51: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:1:67: error: implicit declaration of function 'strlen' [-Wimplicit-function-declaration]
    1 | n=99999,c[n],i,t;long long r;char s[n];main(){for(scanf("%s",s);i<strlen(s);i++)r+=c[t+=81-2*s[i]]++;printf("%lld\n",r);exit(0);}
      |                                                                   ^~~~~~
main.c:1:1: note: include '<string.h>' or provide a declaration of 'strlen'
  +++ |+#include <string.h>
    1 | n=99999,c[n],i,t;long long r;char s[n];main(){for(scanf("%s",s);i<strlen(s);i++)r+=c[t+=81-2*s[i]]++;printf("%lld\n",r);exit(0);}
main.c:1:67: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]
    1 | n=99999,c[n],i,t;long long r;char s[n];main(){for(scanf("%s",s);i<strlen(s);i++)r+=c[t+=81-2*s[i]]++;printf("%lld\n",r);exit(0);}
      |                                                                   ^~~~~~
main.c:1:67: note: include '<string.h>' or provide a declaration of 'strlen'
main.c:1:102: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    1 | n=99999,c[n],i,t;long long r;char s[n];main(){for(scanf("%s",s);i<strlen(s);i++)r+=c[t+=81-2*s[i]]++;printf("%lld\n",r);exit(0);}
      |                                                                                                      ^~~~~~
main.c:1:102: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:1:102: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:1:102: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:1:121: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
    1 | n=99999,c[n],i,t;long long r;char s[n];main(){for(scanf("%s",s);i<strlen(s);i++)r+=c[t+=81-2*s[i]]++;printf("%lld\n",r);exit(0);}
      |                                                                                                                         ^~~~
main.c:1:1: note: include '<stdlib.h>' or provide a declaration of 'exit'
  +++ |+#include <stdlib.h>
    1 | n=99999,c[n],i,t;long long r;char s[n];main(){for(scanf("%s",s);i<strlen(s);i++)r+=c[t+=81-2*s[i]]++;printf("%lld\n",r);exit(0);}
main.c:1:121: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch]
    1 | n=99999,c[n],i,t;long long r;char s[n];main(){for(scanf("%s",s);i<strlen(s);i++)r+=c[t+=81-2*s[i]]++;printf("%lld\n",r);exit(0);}
      |                                                                                                                         ^~~~
main.c:1:121: note: include '<stdlib.h>' or provide a declaration of 'exit'