Getting wrong answer despite of gettin right output

Why I’m getting wrong answer everytime while my outcome is right that is checked manually

Question is https://www.codechef.com/JULY17/problems/CHEFSIGN
My submission is https://www.codechef.com/viewsolution/14478018

Question is from ongoing contest. you are not supposed to ask such things during running contest. may be you should read this once Code of Conduct

1 Like
//