Result

WA

Code [DL]

#include <math.h>
a;main(){while(scanf("%b",a))putchar(sqrt(a*8+1)%2==1+48);}

stdin

01000110
11100111
00001010
10101111
10001000
01010000
00000001
00000000
10100100
00000001
01101001
11111101
11000010
00010101
10101001
01000001
01111111
10110111
01001110
01110011
10110011
00101101
00000011
00001011
01111000
10111110
01110100
11001110
10011110
01010110
11100001
01000100
11010010
10101011
01011001
00011100
01101010
10001011
00110111
10111000
01000010
10111111
00000110
00100100
10011001
11010111
00001111
01011011
00000011
00101001

stdout

stderr

/tmp/code.c:2:1: warning: data definition has no type or storage class
 a;main(){while(scanf("%b",a))putchar(sqrt(a*8+1)%2==1+48);}
 ^
/tmp/code.c:2:1: warning: type defaults to ‘int’ in declaration of ‘a’ [-Wimplicit-int]
/tmp/code.c:2:3: warning: return type defaults to ‘int’ [-Wimplicit-int]
 a;main(){while(scanf("%b",a))putchar(sqrt(a*8+1)%2==1+48);}
   ^
/tmp/code.c: In function ‘main’:
/tmp/code.c:2:16: warning: implicit declaration of function ‘scanf’ [-Wimplicit-function-declaration]
 a;main(){while(scanf("%b",a))putchar(sqrt(a*8+1)%2==1+48);}
                ^
/tmp/code.c:2:16: warning: incompatible implicit declaration of built-in function ‘scanf’
/tmp/code.c:2:16: note: include ‘<stdio.h>’ or provide a declaration of ‘scanf’
/tmp/code.c:2:22: warning: unknown conversion type character ‘b’ in format [-Wformat=]
 a;main(){while(scanf("%b",a))putchar(sqrt(a*8+1)%2==1+48);}
                      ^
/tmp/code.c:2:22: warning: too many arguments for format [-Wformat-extra-args]
/tmp/code.c:2:30: warning: implicit declaration of function ‘putchar’ [-Wimplicit-function-declaration]
 a;main(){while(scanf("%b",a))putchar(sqrt(a*8+1)%2==1+48);}
                              ^
/tmp/code.c:2:49: error: invalid operands to binary % (have ‘double’ and ‘int’)
 a;main(){while(scanf("%b",a))putchar(sqrt(a*8+1)%2==1+48);}
                                                 ^
/home/esolang/bin/c-gcc: line 6: /tmp/code: No such file or directory
rm: cannot remove '/tmp/code': No such file or directory

strace