Rosetta Problems

Radio Tower and Receiver

https://atcoder.jp/contests/awc0104/tasks/awc0104_d