why the dp approach gives wa?
https://mirror.codeforces.com/contest/1272/submission/104396526 https://mirror.codeforces.com/contest/1272/problem/E
Full text and comments »
TLE!!!!
what is the problem in this code to get tle?? https://mirror.codeforces.com/contest/1389/submission/102948197
Leetcode Weekly 500 Solution Discussion