by@moratorium08
AC
532ms
require'matrix' x=$<.map{|l|Vector[*l.split.map(&:to_i),1]} p -Matrix.rows(x).det/6
04 94 61 59 20 50 87 35 05 98 41 26
18714