Result

AC

Duration

516ms

Code [DL]

ssss["x:map(int,x.split())"mT"]_@;@_@;-@-@-[":_"]@[":_"]@[":[_]u]0&u1&u2&u0&u2&u1&[T"]**@**-":]++6/F

stdin

21 45 70
03 56 07
03 93 18
60 44 43

stdout

18902

stderr

strace