Result

WA

Duration

469ms

Code [DL]

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

stdin

94 78 82
10 24 70
77 10 13
19 05 91

stdout

83664

stderr

/volume/CODE: line 3: 0: command not found
/volume/CODE: line 3: 0: command not found
/volume/CODE: line 3: 0: command not found
/volume/CODE: line 3: 0: command not found
/volume/CODE: line 3: 0: command not found
/volume/CODE: line 3: 0: command not found
/volume/CODE: line 3: 4698: command not found
/volume/CODE: line 3: 3948: command not found
/volume/CODE: line 3: 83664: command not found

strace