Result

WA

Duration

655ms

Code [DL]

a={}for k=1,4 do for a[#a+1] in string.gmatch(io.read(), "[^%s]+") end end
for z=0,8 do a[z+1]=a[z+1]-a[10+z%3]end
print(math.floor(-(a[8]*(a[4]*a[3]-a[1]*a[6])+a[7]*(a[2]*a[6]-a[5]*a[3])+a[9]*(a[1]*a[5]-a[4]*a[2]))/6))

stdin

02 17 88
12 58 82
61 04 97
87 29 25

stdout

stderr

/usr/bin/lua5.3: /volume/CODE:1: '=' or 'in' expected near '['

strace