Result

AC

Code [DL]

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

stdin

01000010
00001110
00000110
00101101
10101101
00110111
01001110
01101001
11111101
00100100
01011100
00000011
10010010
01000001
11010010
01110011
11110000
11000100
01110001
10000001
00000110
10001010
00110100
01110010
10010101
01010111
00110011
11000011
00011100
11010010
11100111
11001010
00010101
10011001
11001011
00010000
00101011
00000001
00001010
10111110
00110000
01111000
00001111
10101011
00100010
00000000
11011100
10001000
01011011
11000101

stdout

10110111110100100000100000001110110001110111010110

stderr

strace