my top-down approach is giving wrong answer
code:- https://ide.codingblocks.com/s/283293
Wrong answer on submit
hi @D19APPND0003 the logic is fine, try making pther values as long long as well. This is my code that passed all the test cases you can refer to this https://ide.codingblocks.com/s/283450
1 Like