Result

WA

Duration

492ms

Code [DL]

import numpy as n
print(int(n.linalg.det(n.resize(list(map(int,open(0).read().replace('\n',' -1 ').split()))+[-1]*4, (4, 4)))/6))

stdin

05 54 32
50 50 31
31 03 34
71 31 06

stdout

stderr

Traceback (most recent call last):
  File "/volume/CODE", line 1, in <module>
    import numpy as n
ModuleNotFoundError: No module named 'numpy'

strace