Result

WA

Duration

505ms

Code [DL]

s=map(int,open(0).read().split())
a,b,c,d,e,f,g,h,i=[s[i+3]-s[i%3]for i in range(9)]
print((a*(e*i-h*f)+b*(f*g-i*d)+c*(d*h-g*e))//6)

stdin

01 56 97
40 71 88
75 38 91
50 39 63

stdout

stderr

Traceback (most recent call last):
  File "/volume/CODE", line 2, in <module>
    a,b,c,d,e,f,g,h,i=[s[i+3]-s[i%3]for i in range(9)]
  File "/volume/CODE", line 2, in <listcomp>
    a,b,c,d,e,f,g,h,i=[s[i+3]-s[i%3]for i in range(9)]
TypeError: 'map' object is not subscriptable

strace