Result

WA

Code [DL]

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

stdin

10101110
00000100
01101001
00011100
10011001
00001010
10001000
11001011
00110111
11101110
11111101
01111000
01000010
01011111
10110101
01100010
11110011
00000001
11011110
01100001
00100100
11010010
00000110
01101101
11111100
00010101
11111101
11000101
00000000
10110001
11011100
01011011
00101011
10111110
01111001
00110100
00101101
11000010
00000011
11001100
01101010
10101011
00001010
01111010
10100010
11010011
01001110
11100111
00001111
01111110

stdout

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

stderr

strace