wrong answer in Magic School (CNTFAIL) .... please help

I am getting Wrong Answer verdict but I can’t seem to put a finger on where I am going wrong, Please help. Here is the link to my solution:
https://www.codechef.com/viewsolution/22156921

I think that you forgot the case where everyone says that no one has passed.

If it helps for checking , my solution link is : Link

Hope it helps :slight_smile:

1 Like

I did , thanks a ton!