Rosetta Problems
← atcoder に戻る
Product Return
https://atcoder.jp/contests/awc0078/tasks/awc0078_d