Rosetta Problems
← atcoder に戻る
Purse Seine Fishing
https://atcoder.jp/contests/ahc039/tasks/ahc039_a