摘要: #include <iostream>#include <algorithm>#include <cstring>using namespace std;const int N=100010;int n,m;int f[N];int main(){ cin>>n>>m; f[0]=1; while( 阅读全文
posted @ 2022-04-12 17:58 小白QIU 阅读(289) 评论(1) 推荐(0)
摘要: #include <iostream>using namespace std;const int N=10010;int n,m;int v[N],w[N];int f[N][N];int main(){ cin>>n>>m; for(int i=1;i<=n;i++) cin>>v[i]>>w[i 阅读全文
posted @ 2022-04-12 16:41 小白QIU 阅读(14) 评论(1) 推荐(0)