Result

WA

Duration

451ms

Code [DL]

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

stdin

37 39 17
06 57 69
79 48 89
95 51 37

stdout

stderr

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

strace