Result

WA

Duration

519ms

Code [DL]

a=(`cat`)
for z in {0..8};{
$[a[t=z]-=a[9+z%3],s+=z/6*a[z]*(a[p=++t%3+3]*a[q=++t%3]-a[q+3]*a[p-3])/6]
}
echo $s

stdin

45 93 04
81 33 09
96 70 01
75 09 65

stdout

stderr

/volume/CODE: line 3: 09: value too great for base (error token is "09")

strace