Result

AC

Duration

560ms

Code [DL]

"\n"/);{' '/}%(\{\.@[\]zip{{~}%{-}*}%}%.(([+]\((+({[+]++zip{{*}*}%{+}*}:p~\((+([+]\((p- 6/\;

stdin

79 94 86
03 56 68
64 97 14
89 61 56

stdout

37251

stderr

strace