Result

WA

Code [DL]

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

stdin

10001000
11000101
00000110
10111001
01000010
01011011
01001110
11100111
11011111
10101011
00000001
01010011
11101001
01011011
01010111
01100000
01101001
00101101
11011101
00100100
10010010
01111000
00000101
00010101
00011111
00011100
11100010
10011001
00010101
10101001
11010010
00100101
10111110
01110011
00101010
11110110
10011111
10011100
00001100
01000011
10010101
00000011
00000000
00101110
01100110
00110111
11111101
00001111
00001010
11101000

stdout

00000000001000000000000000000000000000000010000000

stderr

strace