Rosetta Problems
← atcoder に戻る
Souvenir Combinations
https://atcoder.jp/contests/awc0049/tasks/awc0049_d