Hello friends, I have a doubt in question B)Inflation from Codeforces Educational Round #103 (Div. 2). Question link — https://codeforces.net/contest/1476/problem/B My Solution — https://codeforces.net/contest/1476/submission/106011277
After trying it 13 times I am not able to understand what is wrong in my code which is giving wrong answer with test 4.
I shall be thankful if someone helps me in this.