公式の解説を参考にして解いてみました。 D - Make Geometric Sequence AtCoder is a programming contest site for anyone from beginne atcoder.jp 公比rは$${r = ...
A geometric sequence goes from one term to the next by always multiplying or dividing by the same value. The number multiplied (or divided) at each stage of a geometric sequence is called the common ...