Result

WA

Code [DL]

main(s){for(;gets(&s);puts('0'+!fmod(sqrt(strtol(&s,0,2)*8+1),1)));}

stdin

10011001
10101011
01000010
01111000
00011100
00000110
01011100
10010010
11010010
01100100
00001100
10011110
01011010
00011010
01001110
01000101
11111010
00101010
10101110
10101000
00000000
01101001
00100100
00001010
00100011
11010110
10111101
01011101
00010010
01000111
00101101
01011011
00000001
00010101
11100101
00000011
01101001
11111101
10111110
00111101
01010101
00001111
10000101
10000111
11100111
10001000
10001000
01010111
00110111
01001010

stdout

stderr

/tmp/code.c:1:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
 main(s){for(;gets(&s);puts('0'+!fmod(sqrt(strtol(&s,0,2)*8+1),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:14: warning: implicit declaration of function ‘gets’ [-Wimplicit-function-declaration]
 main(s){for(;gets(&s);puts('0'+!fmod(sqrt(strtol(&s,0,2)*8+1),1)));}
              ^
/tmp/code.c:1:23: warning: implicit declaration of function ‘puts’ [-Wimplicit-function-declaration]
 main(s){for(;gets(&s);puts('0'+!fmod(sqrt(strtol(&s,0,2)*8+1),1)));}
                       ^
/tmp/code.c:1:33: warning: implicit declaration of function ‘fmod’ [-Wimplicit-function-declaration]
 main(s){for(;gets(&s);puts('0'+!fmod(sqrt(strtol(&s,0,2)*8+1),1)));}
                                 ^
/tmp/code.c:1:33: warning: incompatible implicit declaration of built-in function ‘fmod’
/tmp/code.c:1:33: note: include ‘<math.h>’ or provide a declaration of ‘fmod’
/tmp/code.c:1:38: warning: implicit declaration of function ‘sqrt’ [-Wimplicit-function-declaration]
 main(s){for(;gets(&s);puts('0'+!fmod(sqrt(strtol(&s,0,2)*8+1),1)));}
                                      ^
/tmp/code.c:1:38: warning: incompatible implicit declaration of built-in function ‘sqrt’
/tmp/code.c:1:38: note: include ‘<math.h>’ or provide a declaration of ‘sqrt’
/tmp/code.c:1:43: warning: implicit declaration of function ‘strtol’ [-Wimplicit-function-declaration]
 main(s){for(;gets(&s);puts('0'+!fmod(sqrt(strtol(&s,0,2)*8+1),1)));}
                                           ^
/tmp/ccmmp9jM.o: In function `main':
code.c:(.text.startup+0x6c): 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