While trying to solve the sixth problem, I thought I found a pattern and submitted my solution, and it got AC!
I realized that the pattern was wrong and wondered how it got AC. To check the integrity of the testcases, I submitted a solution for the fifth which was to just print the answer of the sample, and to my surprise, it got me AC!
This is happening for all the problems except for this one!
Since the contest is useless, I am posting this before the contest ends.