Result

AC

Code [DL]

module a;real x;initial repeat(50)begin $write("%d",$fscanf(1<<31,"%b",x)==(8*x+1)**0.5%2);end endmodule

stdin

00000110
11111101
10101011
11001011
10001010
10101011
11101010
00000000
00010101
01011011
00100100
01001100
01010100
01111000
10111110
10001000
01101001
01100010
00001111
10001111
00101101
00111001
00000001
01011000
01000010
00011011
00001010
01111001
00011010
00100101
10011001
11001101
10011011
00110111
00101111
01001110
01100011
00000011
00000001
10011111
00011100
00111111
00101001
11101101
00111011
00011111
11100111
10100001
01000111
11010010

stdout

11100101111001111010101010100010010101101000001001

stderr

strace