Please explain why my solution to MATMOD (CodeChef) is wrong

Правка en1, от siddhantuniyal, 2024-02-22 23:17:06

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

Теги codechef, combinatorics

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский siddhantuniyal 2024-02-22 23:17:06 562 Initial revision (published)