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