Result

WA

Code [DL]

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

stdin

01010011
01011011
11100001
11010010
10010101
00011100
00001010
11011000
01110100
00110000
11001000
00001111
11100111
00100100
01101001
00110111
10011001
10101000
00000001
00000110
01110001
11100101
10001000
00100111
10101011
01001110
11011100
11101011
01101010
10111110
11001101
11101100
11111001
11101000
10101101
10011001
01001011
10100010
00101101
00000000
00000101
00000011
11111000
01111001
00101101
00011110
01111000
00010101
11111101
01000010

stdout

          1          1          1          1          1          1          1          1          1          1          1          1          1          1          1          1          1          1          1          1          1          1          1          1          1          1          1          1          1          1          1          1          1          1          1          1          1          1          1          1          1          1          1          1          1          1          1          1          1          1

stderr

strace