Https://ide.codingblocks.com/#/s/21568

https://ide.codingblocks.com/#/s/21568
what is wrong with this code . It works for input 1 20000 5…but it does not work for 1 21000 5…pls look into it …thank u