Rosetta Problems

Sum-Product Ratio

https://atcoder.jp/contests/arc158/tasks/arc158_b