Result

AC

Duration

533ms

Code [DL]

require'matrix'
p -Matrix[*$<.map{|l|[*l.split.map(&:to_i),1]}].det/6

stdin

44 45 09
70 59 67
15 79 17
17 24 52

stdout

24230

stderr

strace