Rosetta Problems

Sum of Product

https://atcoder.jp/contests/abc405/tasks/abc405_c