摘要: 点击查看代码 #include<bits/stdc++.h> using namespace std; const int N=110,M=10010; int f[M],w[N]; int n,m; int main() { ios::sync_with_stdio(0),cin.tie(0); 阅读全文
posted @ 2026-02-02 21:00 AnoSky 阅读(23) 评论(0) 推荐(0)
摘要: 点击查看代码 #include<bits/stdc++.h> using namespace std; const int N=35,M=20010; int f[M]; int w[N],v[N]; int V,n; int main() { ios::sync_with_stdio(0),cin 阅读全文
posted @ 2026-02-02 20:35 AnoSky 阅读(10) 评论(0) 推荐(0)
摘要: 点击查看代码 #include<bits/stdc++.h> using namespace std; typedef long long LL; const int N=1e3+10,M=1e3+10; int f[M]; int n,x; int w[N],v[N]; int main() { 阅读全文
posted @ 2026-02-02 20:22 AnoSky 阅读(16) 评论(0) 推荐(0)
摘要: 点击查看代码 #include<bits/stdc++.h> using namespace std; const int N=30,M=3e4+10; int v[N],w[N]; int dp[M]; int n,m; int main() { ios::sync_with_stdio(0),c 阅读全文
posted @ 2026-02-02 19:55 AnoSky 阅读(18) 评论(0) 推荐(0)