```cpp for(int i=1;mi(i)<=n;i++) for(int j=1;j+mi(i)-1<=n;j++) st[j][i]=max(st[j][i-1],st[j-(mi(i)-1)][i-1]); ``` by luyu2009 @ 2023-10-07 17:21:53