by@kcz146
WA
490ms
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 $s73 56 43 14 63 83 06 64 09 01 31 91
-5755
/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: -800: command not found /volume/CODE: line 3: -5755: command not found /volume/CODE: line 3: 09: value too great for base (error token is "09")