我是林敬腾
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
在讨论《为什么错了》回复:
```cpp #include using namespace std; int n,m; const int N=1e3+10; const int INF=0x3f3f3f3f; int a[N][N],w[N][N],dp[N]; //t[k][i]表示第k组的第i个 w[k][i]为重量 int main(){…
``` #include using namespace std; int n,m; const int N=1e3+10; const int INF=0x3f3f3f3f; int a[N][N],w[N][N],dp[N]; //t[k][i]表示第k组的第i个 w[k][i]为重量 int main(){ io…
```cpp #include using namespace std; const int N = 1e7 + 104; int c[1002][1002]; int n,a[N],f[1002][1002],sum[N],ans = 999999999; int main(){ cin >> n; for(int…