by@kurgm
WA
import std.stdio;void main(){int a;for(;readf(" %b",&a);)write(1-(sqrt(1+a*8.)%1>0));}
01011011 01111101 10011101 00011100 00001111 00000110 11001010 11111101 01000010 00001010 00111001 11110100 00001111 01001110 11100111 00011001 01111000 11011100 11001110 11100001 01111011 10101011 11001011 10111110 00010101 01111000 00000000 00110111 00100010 01001010 01011111 01101001 10000010 01000101 10001000 11011001 11000100 10000001 00101101 00100000 10110110 10111111 10011001 01001000 00000011 01101101 11010010 00000001 00100100 01100010
/tmp/code.d:1:67: error: 'sqrt' is not defined, perhaps you need to import std.math; ? import std.stdio;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