Prateek sir and coding

pls, point out the mistake it is working for the sample input.

Hey @Keshav99, try this test
4
1
2 6926748
1
1
for parsing errors use direct integers!

its not printing “No Code” when the stack is empty. i have checked many times but cant find any mistakes.


this should work! there was problem with the way of taking input!