Rosetta Problems
← atcoder に戻る
Cooking Contest and Ingredients
https://atcoder.jp/contests/awc0031/tasks/awc0031_a