Program crashes immidiately after the solve function is called. weird!!
Why Program crashes?
Hey @tasfikrahman007
Declare all the 2D arrays globally and initialize them inside function.
We declare them globally because max size aay we can initialize inside functions is close to10^6 so it sometimes give runtime/MLE whenever array of that size present inside
So try taking them outside .
If that doesn’t work I will check again
It got accepted , thanks
1 Like