by@kurgm
AC
599ms
require'matrix' p Matrix[*$<.map{|l|eval"a=1,"+l.split*?,}].det/6
23 90 12 54 93 05 88 54 22 31 32 04
8847