Issues in COLGLF2

I was trying to the COLGLF2 problem from February Starters 2021. I’m getting WA even though my solution is correct. I have compared it with other’s solution. This is the link : CodeChef: Practical coding for everyone