Test cases for this problem were wrongly generated.
Can the problem setters explain why the first code works, and the second doesn’t?
lemme tell u why 1st one works and 2nd one doesn’t
the problem testers were sleeping
this is what happens when 2/3 stars decide to host contests, codechef should add a cutoff rating in hosting non rated public contests as well
Repeat after me , the contest was shit
yup mine was also similar to the accepted ones but it didn’t got accepted during the contest.
and also this was the same question from DSAcodechef learners question SMARTPHONE link to question
hope they run the checks again with updated tests.
I agree with you the same case happened with me also . I wrote the same code as that of the accepted one but it was showing me WA always. WTF is happening wasted all my time scratching my head!!!
It wasn’t shit it was shittier