Rosetta Problems

Sum of Products of Consecutive Intervals

https://atcoder.jp/contests/awc0037/tasks/awc0037_c