Result

AC

Duration

486ms

Code [DL]

<?php [$a,$b,$c]=explode(" ",fgets(STDIN));[$d,$e,$f]=explode(" ",fgets(STDIN));[$g,$h,$i]=explode(" ",fgets(STDIN));[$j,$k,$l]=explode(" ",fgets(STDIN));$g-=$a;$h-=$b;$i-=$c;$j-=$a;$k-=$b;$l-=$c;echo (($e-$b)*($i*$j-$g*$l)+($f-$c)*($g*$k-$h*$j)+($d-$a)*($h*$l-$i*$k))/6;

stdin

02 84 80
18 07 20
69 90 27
47 64 73

stdout

37750

stderr

PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 1
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 1
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 1
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 1
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 1
PHP Notice:  A non well formed numeric value encountered in /volume/CODE on line 1

strace