Aggressive cows TLE problem

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 :stuck_out_tongue:

can you please debug my code and comment out the corrections

1 Like

Sure , I will send you soon

1 Like

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