Result

AC

Duration

486ms

Code [DL]

my($a,$b,$c,$d,$e,$f,$g,$h,$i,$j,$k,$l)=map{/\d+/g}<>;print+(($g-$a)*(($k-=$b)*($f-=$c)-($e-=$b)*($l-=$c))+($j-$a)*($e*($i-=$c)-($h-=$b)*$f)+($d-$a)*($h*$l-$k*$i))/6

stdin

77 26 93
97 37 49
88 07 58
14 04 74

stdout

13615

stderr