Rosetta Problems

increment of coins

https://atcoder.jp/contests/abc184/tasks/abc184_d