上一页 1 2 3 4 5 6 7 ··· 12 下一页
摘要: 点击查看代码 #include<bits/stdc++.h> using namespace std; const int M=405,N=55; int h[N],t[N],k[N]; int f[M][M]; int H,T; int n; int main() { ios::sync_with 阅读全文
posted @ 2026-02-03 21:56 AnoSky 阅读(1) 评论(0) 推荐(0)
摘要: 点击查看代码 #include<bits/stdc++.h> using namespace std; const int N=110,W=210; int f[W][W]; int w1[N],w2[N]; int n,M,T; int main() { ios::sync_with_stdio( 阅读全文
posted @ 2026-02-03 20:58 AnoSky 阅读(4) 评论(0) 推荐(0)
摘要: 点击查看代码 #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 阅读(0) 评论(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 阅读(1) 评论(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 阅读(1) 评论(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 阅读(2) 评论(0) 推荐(0)
摘要: 点击查看代码 #include<bits/stdc++.h> using namespace std; typedef long long LL; const int N=1e4+10,M=1e7+10; int t,m; int v[N],w[N]; LL dp[M]; int main() { 阅读全文
posted @ 2026-01-31 23:09 AnoSky 阅读(5) 评论(0) 推荐(0)
摘要: 点击查看代码 #include<bits/stdc++.h> using namespace std; const int N=110,M=1010; int t,m; int v[N],w[N]; int dp[M]; int main() { ios::sync_with_stdio(0),ci 阅读全文
posted @ 2026-01-31 23:02 AnoSky 阅读(5) 评论(0) 推荐(0)
摘要: 点击查看代码 #include<bits/stdc++.h> using namespace std; const int N=1e5+10,OFFSET=1e5; int n; int pos[2*N+100]; int main() { ios::sync_with_stdio(0),cin.t 阅读全文
posted @ 2026-01-29 23:45 AnoSky 阅读(6) 评论(0) 推荐(0)
摘要: 点击查看代码 #include<bits/stdc++.h> using namespace std; const int N=125; int s[N][N]; int n; int main() { ios::sync_with_stdio(0),cin.tie(0); cin>>n; for( 阅读全文
posted @ 2026-01-29 23:12 AnoSky 阅读(2) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 12 下一页