Rosetta Problems

Runner and Sniper

https://atcoder.jp/contests/jag2015spring/tasks/icpc2015spring_k