Ad Infinitum Maths HackerRank problem
Greetings Codeforces : - I was stuck on this Problem and it's editorial is also not clear enough. So if someone can explain how to solve this problem,it will be highly appreciated.