Result

AC

Duration

555ms

Code [DL]

000\6,n;
0(?\ia*i+:&}}}&$-{{{i
}9[\}}}
3=?\{{:&}}}}:&*{{{:&}}:}&*-$}*b0g+:b0pa0g1+:a0p

stdin

99 05 45
07 22 39
23 68 69
52 23 21

stdout

19851

stderr