Result

WA

Code [DL]

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

stdin

10111110
01010011
00101101
01011110
00011100
00110111
10000000
10010000
10110110
01001100
01100110
00000110
10111000
00000001
11101011
00010101
00100100
01011011
11100111
01101001
11110010
11001100
01010111
01111000
11100000
00101000
00001111
10011000
10011011
01000010
00110111
00000101
11000001
10101101
11010010
01001110
00000000
11000010
10101011
10001000
10011001
00001010
10011001
00101100
11100101
00110001
11111101
11111010
00000011
00101011

stdout

11111111111111111111111111111111111111111111111111

stderr

strace