上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 18 下一页
摘要: 点击查看代码 #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 阅读(2) 评论(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 阅读(6) 评论(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 阅读(7) 评论(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 阅读(8) 评论(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 阅读(5) 评论(0) 推荐(0)
摘要: 点击查看代码 #include<bits/stdc++.h> using namespace std; typedef long long LL; const int N=1e5+10; int n,m; int a[N]; bool check(int x) { int cnt=1; LL sum 阅读全文
posted @ 2026-01-29 22:29 AnoSky 阅读(5) 评论(0) 推荐(0)
摘要: 点击查看代码 #include<bits/stdc++.h> using namespace std; typedef long long LL; const int N=50010; int n,m; LL L; int a[N]; bool check(int x) { int cnt=0; i 阅读全文
posted @ 2026-01-28 21:58 AnoSky 阅读(3) 评论(0) 推荐(0)
摘要: 点击查看代码 #include<bits/stdc++.h> using namespace std; typedef long long LL; const int N=1e6+10; int n; LL m; int h[N]; bool check(int x) { LL sum=0; for 阅读全文
posted @ 2026-01-28 20:03 AnoSky 阅读(6) 评论(0) 推荐(0)
摘要: 点击查看代码 #include<bits/stdc++.h> using namespace std; typedef long long LL; const int N=1e5+10; LL x[N]; int n,m; bool check(int d) { int cnt=1; LL last 阅读全文
posted @ 2026-01-28 20:03 AnoSky 阅读(5) 评论(0) 推荐(0)
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 18 下一页