Rosetta Problems

Installation of Advertising Billboards

https://atcoder.jp/contests/awc0139/tasks/awc0139_e