The problem : MATMOD
My solution (with complete explanation in comments) : My Solution
I have taken a random accepted submission , and compared my code's output with every possible edge case I could think of, and my output matches it every single time.
The accepted submission : Other Solution
Still, I am getting wrong answer.
Please help
answer should be 0 because 2 needs to mirror 8