ANKPAREN had buggy input and ratings were (apparently) calculated without any corrections in input and rejudge.
This solution is still giving me NZEC.
This solution is giving AC.
You can see only difference between 2 solutions is input. Except 3 lines which deal with input, both the solutions are exactly same.
CodeChef admins, please look into this matter.