can you help me in this question

,
Last edited on
anyone please help me ?
@ipg can you help me with this

i think it is Geometric Progression.
Can you help to optimize it ?

https://www.codechef.com/ISCC2018/problems/T24
Topic archived. No new replies allowed.