For Problem D , why the solution is giving MLE when according to given constraint dp size is maximum 2*1e5*10 < 1e7.↵
https://mirror.codeforces.com/contest/1992/submission/270048258
https://mirror.codeforces.com/contest/1992/submission/270048258