Result

WA

Code [DL]

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

stdin

00100100
11011000
01001100
01011101
11001111
01010100
01000010
01111000
01101001
00001111
01011001
01111001
10000101
11111100
00000111
00001010
10000010
00000110
10001000
11111101
00001010
01101000
00101001
00011100
10011001
11101110
01110110
10111110
11010010
11010010
01100000
11010110
11100111
00000011
00010011
01001110
10100110
10000110
00011101
10011111
11110001
00101101
00110111
10111010
00000001
00010101
01011011
10101011
00000000
01111100

stdout

ERROR: /volume/CODE:1: $fscanf argument 3 (a vpiNet) is not assignable.

stderr

strace