Is https://www.codechef.com/problems/ENCD04 a correct problem

Does anyone have an AC in this problem or are the testcases wrong?

Please check and see