Rosetta Problems
← atcoder に戻る
Card Grabbing
https://atcoder.jp/contests/awc0161/tasks/awc0161_b