Result

AC

Duration

580ms

Code [DL]

c000\6,n;
:}?!\bc4**ia*i+-i~:&}}}&-{{{{1-
~~~~\{{{{~~~
3-?!\{{:&}}}}:&*{{{:&}}:}&*-&}&*b0g+:b0pa0g1+:a0p

stdin

75 91 13
55 40 43
69 59 67
08 56 40

stdout

16286

stderr