Language: C

c[99999],i,t;long long r;char s[99999];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 | c[99999],i,t;long long r;char s[99999];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 'c' [-Wimplicit-int]
main.c:1:10: error: type defaults to 'int' in declaration of 'i' [-Wimplicit-int]
    1 | c[99999],i,t;long long r;char s[99999];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:12: error: type defaults to 'int' in declaration of 't' [-Wimplicit-int]
    1 | c[99999],i,t;long long r;char s[99999];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 | c[99999],i,t;long long r;char s[99999];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 | c[99999],i,t;long long r;char s[99999];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 | c[99999],i,t;long long r;char s[99999];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 | c[99999],i,t;long long r;char s[99999];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 | c[99999],i,t;long long r;char s[99999];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 | c[99999],i,t;long long r;char s[99999];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 | c[99999],i,t;long long r;char s[99999];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:81: error: expected statement before ']' token
    1 | c[99999],i,t;long long r;char s[99999];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:101: error: expected ']' before ';' token
    1 | c[99999],i,t;long long r;char s[99999];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:129: error: expected ';' before '}' token
    1 | c[99999],i,t;long long r;char s[99999];main(){for(scanf("%s",s);i<strlen(s);i++)]r+=c[t+=81-2*s[i]++;printf("%lld\n",r);exit(0);}
      |                                                                                                                                 ^
      |                                                                                                                                 ;