I’m trying to solve MODULAR EQUATION question that came in may long challenge 2021 (now moved to Practice section)
My code is failing for subtask #1 itself, but I’m not able to figure out why its failing,
is there any way i see the expected output vs my output or something like that?
btw, here’s my submission if anyone wants to help : CodeChef: Practical coding for everyone
PS: Please edit the same thread instead of creating multiple threads for the same doubt.
Okay, Thanks alot for the testcase
I have stumbled upon this logic while searching for a solution, and I have seen that many people have used the same logic, is it a popular algorithm. Can anyone please explain?
Alternate Solution: CodeChef: Practical coding for everyone