上一页 1 2 3 4 5 6 7 8 ··· 16 下一页
摘要: 点击查看代码 #include<bits/stdc++.h> using namespace std; typedef long long LL; const int N=1e6+10; int n,m; int r[N]; int d[N],s[N],t[N]; LL b[N]; bool che 阅读全文
posted @ 2026-02-09 23:03 AnoSky 阅读(2) 评论(0) 推荐(0)
摘要: 点击查看代码 #include<bits/stdc++.h> using namespace std; typedef long long LL; const int N=1e5+10; LL a[N],b[N]; int n; int main() { ios::sync_with_stdio(0 阅读全文
posted @ 2026-02-09 23:01 AnoSky 阅读(2) 评论(0) 推荐(0)
摘要: 点击查看代码 #include <bits/stdc++.h> using namespace std; using ll = long long; const int N = 1000005; int n, k; ll s[N], mx; int main() { ios::sync_with_s 阅读全文
posted @ 2026-02-09 21:03 AnoSky 阅读(2) 评论(0) 推荐(0)
摘要: 点击查看代码 #include<bits/stdc++.h> using namespace std; const int N=1e5+10; int n,m; int p[N]; long long d[N]; int main() { ios::sync_with_stdio(0),cin.ti 阅读全文
posted @ 2026-02-09 20:05 AnoSky 阅读(2) 评论(0) 推荐(0)
摘要: 点击查看代码 #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 阅读(4) 评论(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 阅读(5) 评论(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)
上一页 1 2 3 4 5 6 7 8 ··· 16 下一页