Result

WA

Code [DL]

module c;integer d;initial while($fscanf(1<<31,"%b",d))$write(($sqrt(d*8+1)-1)/2%1!=0);endmodule

stdin

11111101
00010101
11101001
00001010
00110111
00000001
00000011
00010100
00101101
00011111
01110010
00101110
10000101
11100111
11000010
00000100
11010111
10100011
11001001
00000110
00000011
01011011
10001001
11101010
10101011
01001100
01011000
11110001
10011001
01100011
01010011
11001011
00100100
00001111
01001110
11100100
11100111
00000000
01000001
00011100
10000110
10001000
10011011
11010010
11100011
01000010
01101001
10111110
01110000
01111000

stdout

00100001011110111110001101110111000100101010100010

stderr

strace