Result

AC

Duration

541ms

Code [DL]

QimGwwAGGwwwmwAiimacwimGwwAGGwwwmwAiiwAfcwwfcwGfcwmfcwWfcGifcGffcGcfcGacwmimcGaGmmFimimwAfiimwWfiGafaGcfiGiiWffwwfiimGifiGffaGafiwmiWffwGfiimwmfiGcfaGffiwWiWiWfAfAcciWiWimfiAWGaGmmFimmaAWGafffWwfiWfaGaGmmFimmaAWGaiAfWwfiWGiGWmciiGaiiGaGmiimcwAGmGfwWimcAiWwfiWiWimGWmiwWGmimfwiWfFmcwWwAwmimiWfFmamiGwGamFimiWiWQwwAw

stdin

03 40 32
69 28 86
41 29 17
81 98 33

stdout

39423

stderr