Problem Link: Contest Page | CodeChef
Below, I have listed links to my C++ and Python solution to the problem Wierd Walk.
I wanna know why is the same logic giving partial correct result in C++ but giving full AC in Python.
- C++ Code (Partially Correct - 30 pts): Solution: 42879238 | CodeChef
- Python Code (Full AC - 100 pts): Solution: 42879295 | CodeChef
Can anyone explain what could be wrong?