I had submitted question C which passed all pretest but the code showed runtime error in test case 18 , which is not a big deal but i submitted the exact same code in practise and it got accepted and i am not able to understand why there was runtime error on the exact same code.