https://ide.codingblocks.com/#/s/16208
question link https://hack.codingblocks.com/contests/c/452/713
https://ide.codingblocks.com/#/s/16208
question link https://hack.codingblocks.com/contests/c/452/713
Hiiii Dhruv ! Actually you are not changing s and e in the case when x==0 , so you have to handle that case as well
Other part is fine
can you please debug my code and comment out the corrections
Sure , I will send you soon
okay thanks a lot. was not able to find the mistake in my code
HeyY ! i modified ur code and have made ur code short
https://ide.codingblocks.com/#/s/16346
You can go through this