This is a question spoj question.
Instead of a fixed jump(ex: 2), if I have it incrementing , 2,3,4,5.. then how can I calculate the required recursive formula?
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
By posting your answer, you agree to the
terms of service.
5 months ago