Result

WA

Code [DL]

import std.stdio,std.math;void main(){int a;for(;readf!" %b"(a);)write(1-(sqrt(1+a*8.)%1>0));}

stdin

00000011
10110100
10001000
00100010
00110111
00110111
00011001
01001110
00001001
11010010
01000010
11110011
10011001
11101110
10111110
00000111
10111011
01101001
01101111
11111101
00001111
10101011
11000010
00011100
00101011
01011011
01010100
00110101
00010101
11101101
11100111
01101101
00100100
11110010
01100101
01011100
00000110
01111000
10000000
01111100
00101101
00101000
00000001
00001010
00001110
00000000
00000011
10010101
01011001
10101110

stdout

stderr

/usr/lib/gcc/x86_64-linux-gnu/5/include/d/std/stdio.d:3202:6: error: tuple A is used as a type
 uint readf(A...)(in char[] format, A args)
      ^
/tmp/code.d:1:50: error: template instance std.stdio.readf!" %b" error instantiating
 import std.stdio,std.math;void main(){int a;for(;readf!" %b"(a);)write(1-(sqrt(1+a*8.)%1>0));}
                                                  ^
/home/esolang/bin/d-gdc: line 6: /tmp/code: No such file or directory
rm: cannot remove '/tmp/code': No such file or directory

strace