by@satos___jp
WA
main(j,s,a,t){for(;gets(s);puts(&a))for(t=strtol(s,0,2),j=a=48;--j;)a+=j*j-j==t*2;}
11100011 01101101 00100110 00001111 01000001 00001111 11101001 10001000 11010101 00000110 00000011 10110100 00011100 10011110 01000100 11100111 10100101 01001000 10011001 01001110 01000101 11010010 00000001 11111011 10101011 11111111 11111101 01000010 01101110 00110111 00010101 01100010 01011110 00100011 00100001 10011100 00001010 01011011 11011101 01110000 00100100 01101001 00011011 10111110 10111110 11010111 00000000 00101101 01111000 00101001
/tmp/code.c:1:1: warning: return type defaults to ‘int’ [-Wimplicit-int] main(j,s,a,t){for(;gets(s);puts(&a))for(t=strtol(s,0,2),j=a=48;--j;)a+=j*j-j==t*2;} ^ /tmp/code.c: In function ‘main’: /tmp/code.c:1:1: warning: type of ‘j’ defaults to ‘int’ [-Wimplicit-int] /tmp/code.c:1:1: warning: type of ‘s’ defaults to ‘int’ [-Wimplicit-int] /tmp/code.c:1:1: warning: type of ‘a’ defaults to ‘int’ [-Wimplicit-int] /tmp/code.c:1:1: warning: type of ‘t’ defaults to ‘int’ [-Wimplicit-int] /tmp/code.c:1:20: warning: implicit declaration of function ‘gets’ [-Wimplicit-function-declaration] main(j,s,a,t){for(;gets(s);puts(&a))for(t=strtol(s,0,2),j=a=48;--j;)a+=j*j-j==t*2;} ^ /tmp/code.c:1:28: warning: implicit declaration of function ‘puts’ [-Wimplicit-function-declaration] main(j,s,a,t){for(;gets(s);puts(&a))for(t=strtol(s,0,2),j=a=48;--j;)a+=j*j-j==t*2;} ^ /tmp/code.c:1:43: warning: implicit declaration of function ‘strtol’ [-Wimplicit-function-declaration] main(j,s,a,t){for(;gets(s);puts(&a))for(t=strtol(s,0,2),j=a=48;--j;)a+=j*j-j==t*2;} ^ /tmp/cc5Q0tK9.o: In function `main': code.c:(.text.startup+0x10): warning: the `gets' function is dangerous and should not be used. /home/esolang/bin/c-gcc: line 6: 13 Done cat - 14 Segmentation fault (core dumped) | /tmp/code