by@kurgm
WA
534ms
a=`dd`.split.map &.to_i;p (0..8).map{|z|z/6*(a[z]-=a[9+z%3])*(a[s=3+-~z%3]*a[~t=-z%3]-a[2-t]*a[s-3])}.sum/6
83 88 16 60 75 63 05 43 71 48 06 62
Syntax error in /volume/CODE:1: [1mexpecting token ']', not '='[0m a=`dd`.split.map &.to_i;p (0..8).map{|z|z/6*(a[z]-=a[9+z%3])*(a[s=3+-~z%3]*a[~t=-z%3]-a[2-t]*a[s-3])}.sum/6 [32;1m^[0m