使用数位DP记忆化的过程中,为何必须要判断 limitlimitlimit 变量才能记录
if(!lim&&f[x][g][s0][s1]!=-1) return f[x][g][s0][s1]; if(!lim) f[x][g][s0][s1]=ret;
如上两端代码