I was solving “MIN QUERY 1” question. I have cleared sample test cases, still, it is showing run time error upon submission.
I am not able to find out the error. Plz help me find that.
Here’s the link to my code: https://ide.codingblocks.com/s/344374