Result

AC

Duration

1794ms

Code [DL]

Y=`dd`.split;a,b,c,d,e,f,g,h,i=(0..8).map{|e|Y[e+3].to_i-Y[e%3].to_i};p (a*(e*i-h*f)+b*(f*g-i*d)+c*(d*h-g*e))/6

stdin

63 01 79
14 13 01
19 61 10
93 99 42

stdout

34967

stderr

0+1 records in
0+1 records out
36 bytes copied, 4.6746e-05 s, 770 kB/s

strace