When declaring any global variable , make sure you clear them at first lines of main code.
I lost 1 hr to find the problem in my code. if you don’t it will give correct ans with custom input but wont give correct at the time of submit.
When declaring any global variable , make sure you clear them at first lines of main code.
I lost 1 hr to find the problem in my code. if you don’t it will give correct ans with custom input but wont give correct at the time of submit.