Cool Problem, APIO 2012 Kunai
Can anyone help me to describe the algorithm for solving this APIO 2012 Kunai?
Thanks XD