I'm getting WA in MINOPS

I have got the logic right. And my code is working fine for the testcases I’ve created. The I/O format is also correct. But still I’m getting WA. Please help me.

Question: CodeChef: Practical coding for everyone
My solution: CodeChef: Practical coding for everyone

add Proper Comments to the solution and people might make some efforts to help you

1 Like

Added.
https://www.codechef.com/viewsolution/32337150