Problem Description
Angel was caught by theMOLIGPY! He was put in prison by Moligpy. The prison is described as a N * M (N, M <= 200) matrix. There are WALLs, ROADs, and GUARDs in theprison.<br><br>Angel's friends want to save Angel. Their task is:approach Angel. We assume that "approach Angel" is to get tothe position where Angel stays. When there's a guard inthe grid, we must kill him (or her?) to move intothe grid. We assume that we moving up, down, right, lefttakes us 1 unit time, and killing a guard takes 1 unit time, too. And we are st