Rosetta Problems

Nearest Fire Truck

https://atcoder.jp/contests/awc0147/tasks/awc0147_d