Result

WA

Duration

477ms

Code [DL]

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

stdin

29 59 25
84 07 47
58 88 05
08 27 63

stdout

0

stderr

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

strace