Result

WA

Duration

847ms

Code [DL]

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[t+3]*a[s-3])}.sum/6

stdin

61 06 40
39 71 58
84 44 45
31 84 26

stdout

stderr

Error in /volume/CODE:1: undefined local variable or method 't' (did you mean 'p'?)

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[t+3]*a[s-3])}.sum/6
                                                                             ^

strace