Result

WA

Duration

462ms

Code [DL]

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

stdin

72 01 51
15 41 94
69 79 06
03 76 37

stdout

-44119

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: -48653: command not found
/volume/CODE: line 3: -46237: command not found
/volume/CODE: line 3: -44119: command not found

strace