by@kuromunori
AC
568ms
1a+&w]Ia*I+!???I;k[[2&wa&[2&w]]]?-!k?[?*[v \:6k+*?[~w*?[&4~k~-*?]]?]*?[&4?w-*?]&5?[< o @
93 03 49 36 46 66 09 41 01 27 35 51
8084