Result

WA

Duration

471ms

Code [DL]

module z;initial begin z=$fscanf(1<<31,"%d%d%d%d%d%d%d%d%d%d%d%d",a,b,c,d,e,f,g,h,i,j,k,l);d-=a;e-=b;f-=c;g-=a;h-=b;i-=c;j-=a;k-=b;l-=c;$write((g*k*f+j*e*i+d*h*l-j*h*f-d*k*i-g*e*l)/6);end endmodule

stdin

82 04 65
86 21 54
80 04 21
20 06 84

stdout

stderr

/volume/CODE:1: error: Could not find variable ``z'' in ``z''
/volume/CODE:1: error: Could not find variable ``d'' in ``z''
/volume/CODE:1: error: Could not find variable ``e'' in ``z''
/volume/CODE:1: error: Could not find variable ``f'' in ``z''
/volume/CODE:1: error: Could not find variable ``g'' in ``z''
/volume/CODE:1: error: Could not find variable ``h'' in ``z''
/volume/CODE:1: error: Could not find variable ``i'' in ``z''
/volume/CODE:1: error: Could not find variable ``j'' in ``z''
/volume/CODE:1: error: Could not find variable ``k'' in ``z''
/volume/CODE:1: error: Could not find variable ``l'' in ``z''
/volume/CODE:1: error: Unable to bind wire/reg/memory `g' in `z'
/volume/CODE:1: error: Unable to bind wire/reg/memory `k' in `z'
/volume/CODE:1: error: Unable to bind wire/reg/memory `f' in `z'
/volume/CODE:1: error: Unable to bind wire/reg/memory `j' in `z'
/volume/CODE:1: error: Unable to bind wire/reg/memory `e' in `z'
/volume/CODE:1: error: Unable to bind wire/reg/memory `i' in `z'
/volume/CODE:1: error: Unable to bind wire/reg/memory `d' in `z'
/volume/CODE:1: error: Unable to bind wire/reg/memory `h' in `z'
/volume/CODE:1: error: Unable to bind wire/reg/memory `l' in `z'
/volume/CODE:1: error: Unable to bind wire/reg/memory `j' in `z'
/volume/CODE:1: error: Unable to bind wire/reg/memory `h' in `z'
/volume/CODE:1: error: Unable to bind wire/reg/memory `f' in `z'
/volume/CODE:1: error: Unable to bind wire/reg/memory `d' in `z'
/volume/CODE:1: error: Unable to bind wire/reg/memory `k' in `z'
/volume/CODE:1: error: Unable to bind wire/reg/memory `i' in `z'
/volume/CODE:1: error: Unable to bind wire/reg/memory `g' in `z'
/volume/CODE:1: error: Unable to bind wire/reg/memory `e' in `z'
/volume/CODE:1: error: Unable to bind wire/reg/memory `l' in `z'
28 error(s) during elaboration.
/bin/script: line 14: /tmp/code: not found
rm: can't remove '/tmp/code': No such file or directory

strace