Rosetta Problems

Sum of Prod of Min

https://atcoder.jp/contests/abc279/tasks/abc279_h