by@akouryy1
AC
528ms
my($a,$b,$c,$d,$e,$f,$g,$h,$i,$j,$k,$l)=map{split' '}<>;$e-=$b;$f-=$c;$h-=$b;$i-=$c;$k-=$b;$l-=$c;print+(($g-$a)*($k*$f-$e*$l)+($j-$a)*($e*$i-$h*$f)+($d-$a)*($h*$l-$k*$i))/6
97 05 52 47 29 60 02 13 96 31 61 79
10988