Rosetta Problems

Sum of Geometric Series

https://atcoder.jp/contests/abc400/tasks/abc400_b