ritikagupta8734's blog

By ritikagupta8734, history, 5 years ago, In English

Most of my DP solutions are not accepted and gives TLE in Python 3. Why is it so? Can anyone suggest some ways to deal with this TLE in the case of DP in Python 3? Here is an example link: https://mirror.codeforces.com/contest/1335/submission/83615163 of my Python code which is giving TLE despite the approach being the same as mentioned in Editorial.

| Write comment?