Getting right output for samples but fails in all test cases
Question - https://hack.codingblocks.com/contests/c/509/1427
Solution- https://ide.codingblocks.com/#/s/28527
Shopping game c++ august
it worked…actually all I forgot was to write a=1 inside the loop and rest of the change 1 was implemented already and change 2 was a typo while copying the solution to online IDE. Anyways thank you.
1 Like