上一页 1 2 3 4 5 6 ··· 11 下一页
摘要: 点击查看代码 #include<bits/stdc++.h> using namespace std; stack<int> stk; int main() { char c; int num=0; while(cin>>c){ if(c=='@') break; if(c>='0'&&c<='9' 阅读全文
posted @ 2026-02-04 23:03 AnoSky 阅读(3) 评论(0) 推荐(0)
摘要: 点击查看代码 #include<bits/stdc++.h> using namespace std; const int N=10010,M=1010,INF=0x3f3f3f3f; int n,m,k; int u[N],d[N]; int l[N],h[N]; int f[N][M]; int 阅读全文
posted @ 2026-02-04 22:16 AnoSky 阅读(1) 评论(0) 推荐(0)
摘要: 点击查看代码 #include<bits/stdc++.h> using namespace std; const int N=105,M=2e4+10; int f[M]; vector<int> a[N]; int s,n,m; int main() { ios::sync_with_stdio 阅读全文
posted @ 2026-02-04 20:01 AnoSky 阅读(1) 评论(0) 推荐(0)
摘要: 点击查看代码 #include<bits/stdc++.h> using namespace std; const int N=65,M=4e4; int f[M]; int mw[N],mv[N]; int fw[N][3],fv[N][3]; int n,m; int main() { ios: 阅读全文
posted @ 2026-02-03 23:55 AnoSky 阅读(2) 评论(0) 推荐(0)
摘要: 点击查看代码 #include<bits/stdc++.h> using namespace std; const int N=10000,M=4e4+10; int f[M]; int v[N],w[N]; int n,W; int main() { ios::sync_with_stdio(0) 阅读全文
posted @ 2026-02-03 23:04 AnoSky 阅读(2) 评论(0) 推荐(0)
摘要: 点击查看代码 #include<bits/stdc++.h> using namespace std; const int N=1010,M=1010; int f[M]; int w[N][N],v[N][N]; int s[N]; int n,m; int main() { ios::sync_ 阅读全文
posted @ 2026-02-03 22:21 AnoSky 阅读(4) 评论(0) 推荐(0)
摘要: 点击查看代码 #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)
上一页 1 2 3 4 5 6 ··· 11 下一页