Rosetta Problems

Accumulating Many Times

https://atcoder.jp/contests/arc184/tasks/arc184_e