Result

WA

Duration

465ms

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

73 28 44
77 61 01
74 80 22
93 87 57

stdout

1731

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: 1358: command not found
/volume/CODE: line 3: 355: command not found
/volume/CODE: line 3: 1731: command not found

strace