Rosetta Problems
← atcoder に戻る
Sum of Min of Mod of Linear
https://atcoder.jp/contests/arc182/tasks/arc182_e