Sir, I am not able to submit the code. It works perfectly in ‘Compile and Test’ option. But on submitting it, it takes a long time to process then stops without throwing any error.
Please tell me if the error is in my code or on the online judge.
Link to my code:
Question:
https://hack.codingblocks.com/app/contests/1982/266/problem