上一页 1 2 3 4 5 6 7 8 9 10 ··· 18 下一页
摘要: 点击查看代码 #include<bits/stdc++.h> using namespace std; const int N=2e5+10; int n; int main() { ios::sync_with_stdio(0),cin.tie(0); cin>>n; int ans=-1e18; 阅读全文
posted @ 2026-02-09 19:37 AnoSky 阅读(5) 评论(0) 推荐(0)
摘要: 点击查看代码 #include<bits/stdc++.h> using namespace std; const int N=50010; int n; int pos[N]; int main() { ios::sync_with_stdio(0),cin.tie(0); cin>>n; mem 阅读全文
posted @ 2026-02-07 22:38 AnoSky 阅读(3) 评论(0) 推荐(0)
摘要: 点击查看代码 #include<bits/stdc++.h> using namespace std; const int N=5e6+10; int n,p; int b[N]; int main() { ios::sync_with_stdio(0),cin.tie(0); cin>>n>>p; 阅读全文
posted @ 2026-02-07 21:21 AnoSky 阅读(6) 评论(0) 推荐(0)
摘要: 点击查看代码 #include<bits/stdc++.h> using namespace std; const int N=1010; int n,m; int d[N][N]; int main() { ios::sync_with_stdio(0),cin.tie(0); cin>>n>>m 阅读全文
posted @ 2026-02-07 20:38 AnoSky 阅读(2) 评论(0) 推荐(0)
摘要: 点击查看代码 #include<bits/stdc++.h> using namespace std; const int N=1e3+10; int n,m,c; int s[N][N]; int ax,ay; int main() { ios::sync_with_stdio(0),cin.ti 阅读全文
posted @ 2026-02-07 20:20 AnoSky 阅读(3) 评论(0) 推荐(0)
摘要: 点击查看代码 #include<bits/stdc++.h> using namespace std; const int N=2e6+10; int n; int q[N]; int a[N]; long long s[N]; int main() { ios::sync_with_stdio(0 阅读全文
posted @ 2026-02-06 21:41 AnoSky 阅读(4) 评论(0) 推荐(0)
摘要: 点击查看代码 #include<bits/stdc++.h> using namespace std; typedef long long LL; const int N=5e5+10; int a[N]; LL s[N]; int q[N]; int n,m; int main() { ios:: 阅读全文
posted @ 2026-02-06 20:48 AnoSky 阅读(2) 评论(0) 推荐(0)
摘要: 点击查看代码 #include<bits/stdc++.h> using namespace std; const int N=1e6+10; int k,n; int a[N],q[N]; int hh=0,tt=-1; int main() { ios::sync_with_stdio(0),c 阅读全文
posted @ 2026-02-06 20:19 AnoSky 阅读(2) 评论(0) 推荐(0)
摘要: 点击查看代码 #include<bits/stdc++.h> using namespace std; const int N=1010,M=1010; int h[M]; int a[N][N]; int stk[N],tt=0; int n,m; int l[M],r[M]; int main( 阅读全文
posted @ 2026-02-05 21:39 AnoSky 阅读(3) 评论(0) 推荐(0)
摘要: 点击查看代码 #include<bits/stdc++.h> using namespace std; typedef long long LL; const int N=1e6+10; LL h[N],v[N],ans[N]; int n; int main() { ios::sync_with_ 阅读全文
posted @ 2026-02-05 20:46 AnoSky 阅读(2) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 10 ··· 18 下一页