Result

WA

Code [DL]

main(s,a){for(;;putchar(48+a*a/s))a=sqrt(s=strtol(gets(&s),0,2)*8+1);}

stdin

00000000
00101101
11101111
01100001
00000110
00001000
11001000
10111000
11100111
01101001
10010011
10011001
00011100
00000001
01001001
10100010
00001100
01011100
01101000
00100100
10011100
10000111
11111101
00000000
10001011
10101011
00110111
10000001
01011111
01000010
00010101
01101111
01111000
10001111
11010010
10110010
00000011
00001111
10101011
10001000
00001010
01011011
10111100
01000011
00100111
01100000
01001110
10111110
00100101
01100110

stdout

stderr

/tmp/code.c:1:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
 main(s,a){for(;;putchar(48+a*a/s))a=sqrt(s=strtol(gets(&s),0,2)*8+1);}
 ^
/tmp/code.c: In function ‘main’:
/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:17: warning: implicit declaration of function ‘putchar’ [-Wimplicit-function-declaration]
 main(s,a){for(;;putchar(48+a*a/s))a=sqrt(s=strtol(gets(&s),0,2)*8+1);}
                 ^
/tmp/code.c:1:37: warning: implicit declaration of function ‘sqrt’ [-Wimplicit-function-declaration]
 main(s,a){for(;;putchar(48+a*a/s))a=sqrt(s=strtol(gets(&s),0,2)*8+1);}
                                     ^
/tmp/code.c:1:37: warning: incompatible implicit declaration of built-in function ‘sqrt’
/tmp/code.c:1:37: note: include ‘<math.h>’ or provide a declaration of ‘sqrt’
/tmp/code.c:1:44: warning: implicit declaration of function ‘strtol’ [-Wimplicit-function-declaration]
 main(s,a){for(;;putchar(48+a*a/s))a=sqrt(s=strtol(gets(&s),0,2)*8+1);}
                                            ^
/tmp/code.c:1:51: warning: implicit declaration of function ‘gets’ [-Wimplicit-function-declaration]
 main(s,a){for(;;putchar(48+a*a/s))a=sqrt(s=strtol(gets(&s),0,2)*8+1);}
                                                   ^
/tmp/cchvvHAX.o: In function `main':
code.c:(.text.startup+0x2c): 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

strace