Result

WA

Duration

487ms

Code [DL]

module z;time z,a[12];initial for(i=12;i;i--){z=$fscanf(1<<31,"%d",a[i]);if(i<10)a[i]-=a[10+i%3]}$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

26 88 67
53 63 42
25 35 53
60 92 05

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: Syntax in assignment statement l-value.
/volume/CODE:1: syntax error
/volume/CODE:1: error: Invalid module instantiation
/bin/script: line 14: /tmp/code: not found
rm: can't remove '/tmp/code': No such file or directory

strace