Result

WA

Duration

495ms

Code [DL]

s=map(int,open(0).read().split())
a-=j
b-=k
c-=l
d-=j
e-=k
f-=l
g-=j
h-=k
i-=l
print((a*e*i+b*f*g+c*d*h-a*h*f-b*i*d-c*g*e)//6)

stdin

93 04 34
27 70 06
63 04 61
90 60 52

stdout

stderr

Traceback (most recent call last):
  File "/volume/CODE", line 2, in <module>
    a-=j
NameError: name 'a' is not defined

strace