by@kuromunori
AC
525ms
2a+>Ia*I+!]v v[[^$.-1;I < >[[3>8&[???]]]?~-!~]]v v[&8^$.-1!-~?]]]!-~?]< >?4&]?*4&]?*[?4&[?*[?*+[?4&]?*]?*+?[[v \:6-*?[[*?[&5?]-*?]]*?]&5?[[-*?[[*? < o @
75 51 97 69 50 26 07 07 02 97 79 53
7327