Why am I getting wrong answer for almost all test cases?

Hi, I have tried to write the solution for the problem: AMONGUS2
Here is my solution to this problem: CodeChef: Practical coding for everyone
I’m getting AC only for one test case but for all other test cases, I’m getting Wrong Answer.
Please help me!

I m not able to access the page

1 Like

Same here,
Can’t view your solution

“Error 403 Access denied! You don’t have permissions for this page”

1 Like

Well, the countdown for the INOI problems still goes on, it’s better to paste your formatted code here.