Result

WA

Duration

606ms

Code [DL]

j,k,l=[int(_)for _ in input().split()]
a,b,c,d,e,f,g,h,i=[int(_)for _ in open("/dev/stdin").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

29 27 55
90 93 61
22 05 83
53 16 39

stdout

stderr

Traceback (most recent call last):
  File "/volume/CODE", line 2, in <module>
    a,b,c,d,e,f,g,h,i=[int(_)for _ in open("/dev/stdin").read().split()]
ValueError: too many values to unpack (expected 9)

strace