by@ebiyuu1121_
WA
567ms
require'matrix' x=$<.map{|l|Vector[*l.split.map(&:to_i)]} p -Matrix.rows(x).det/6
36 28 72 35 03 04 26 36 50 47 69 03
/usr/local/ruby-2.5.0/lib/ruby/2.5.0/matrix.rb:1105:in `determinant': Matrix dimension mismatch (ExceptionForMatrix::ErrDimensionMismatch) from /volume/CODE:3:in `<main>'