Result

WA

Duration

487ms

Code [DL]

module z;time a[12];initial for(i=12;i;i--) begin $fscanf(1<<31,"%d",a[i]);if(i<10)a[i]-=a[10+i%3];end $write((a[9]*(a[5]*a[1]-a[4]*a[2])+a[8]*(a[4]*a[3]-a[6]*a[1])+a[7]*(a[6]*a[2]-a[5]*a[3]))/6);endmodule

stdin

62 12 03
86 56 83
47 18 38
83 39 86

stdout

stderr

/volume/CODE:1: warning: Use of SystemVerilog [size] dimension. Use at least -g2005-sv to remove this warning.
/volume/CODE:1: syntax error
/volume/CODE:1: error: invalid module item.
/bin/script: line 14: /tmp/code: not found
rm: can't remove '/tmp/code': No such file or directory

strace