I’m new to CodeChef and to Competitive programming. I’m trying to solve this question as a practice in the DSA learner series.
This is my solution
And this is somebody else
For n=1, your program will print count twice
They’re both your solutions
Anyway, they give different output for the following test input:
See for n=1 what are you printing
Thanks you guys for this fast reply and I’m so sorry for posting this lame question without checking my code…