Result

WA

Duration

483ms

Code [DL]

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

stdin

42 20 62
01 93 49
36 57 71
79 24 58

stdout

8034

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: -1720: command not found
/volume/CODE: line 3: 1827: command not found
/volume/CODE: line 3: 8034: command not found

strace