by@taiyoslime
AC
1794ms
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
63 01 79 14 13 01 19 61 10 93 99 42
34967
0+1 records in 0+1 records out 36 bytes copied, 4.6746e-05 s, 770 kB/s