Result

AC

Duration

538ms

Code [DL]

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

stdin

22 81 73
26 97 38
63 98 27
70 39 09

stdout

13901

stderr

strace