上一页 1 2 3 4 5 6 7 8 9 ··· 18 下一页
摘要: 点击查看代码 #include<bits/stdc++.h> using namespace std; const int N=5e3+10,M=15e3+10; int h[N],ne[M],e[M],w[M],idx; int cnt[N],dist[N],st[N]; int n,m; voi 阅读全文
posted @ 2026-02-24 20:50 AnoSky 阅读(2) 评论(0) 推荐(0)
摘要: 点击查看代码 #include<bits/stdc++.h> using namespace std; const int N=2e3+10,M=6e3+10; int t; int n,m; int h[N],ne[M],w[M],e[M],idx; bool st[N]; int cnt[N]; 阅读全文
posted @ 2026-02-24 20:13 AnoSky 阅读(3) 评论(0) 推荐(0)
摘要: 点击查看代码 #include<bits/stdc++.h> using namespace std; const int N=1e4+10, M=5e5+10; int h[N],w[M],ne[M],e[M],idx; long long dist[N]; bool st[N]; int n,m 阅读全文
posted @ 2026-02-22 22:20 AnoSky 阅读(2) 评论(0) 推荐(0)
摘要: 点击查看代码 #include<bits/stdc++.h> using namespace std; const int N=5e5+10; int n,k; long long s[N]; int q[N]; int main() { ios::sync_with_stdio(0),cin.ti 阅读全文
posted @ 2026-02-20 21:23 AnoSky 阅读(4) 评论(0) 推荐(0)
摘要: 点击查看代码 #include<bits/stdc++.h> using namespace std; const int N=1e5+10; double a[N],b[N]; int n; int main() { ios::sync_with_stdio(0),cin.tie(0); cin> 阅读全文
posted @ 2026-02-20 20:42 AnoSky 阅读(2) 评论(0) 推荐(0)
摘要: 点击查看代码 #include<bits/stdc++.h> using namespace std; const int N=5e4+10; int n,k; int a[N]; int len[N],suf[N]; int main() { ios::sync_with_stdio(0),cin 阅读全文
posted @ 2026-02-20 19:58 AnoSky 阅读(4) 评论(0) 推荐(0)
摘要: 点击查看代码 #include<bits/stdc++.h> using namespace std; const int N=1e5+10; int n,D; struct Node{ int x,y; bool operator<(const Node& t) const { return x< 阅读全文
posted @ 2026-02-13 22:53 AnoSky 阅读(1) 评论(0) 推荐(0)
摘要: 点击查看代码 #include<bits/stdc++.h> using namespace std; const int N=50010; struct Cow{ int x; int id; bool operator<(const Cow& t) const{ return x<t.x; } 阅读全文
posted @ 2026-02-13 21:08 AnoSky 阅读(2) 评论(0) 推荐(0)
摘要: 点击查看代码 #include<bits/stdc++.h> using namespace std; const int N=1e3+10,M=1e5+10; map<string,int> mp; int a[M]; bool vis[N]; int cnt[N]; int n,m; int m 阅读全文
posted @ 2026-02-13 20:23 AnoSky 阅读(5) 评论(0) 推荐(0)
摘要: 点击查看代码 #include<bits/stdc++.h> using namespace std; const int N=1e6+10; int n,m; int a[N]; int cnt[N]; int main() { ios::sync_with_stdio(0),cin.tie(0) 阅读全文
posted @ 2026-02-10 21:15 AnoSky 阅读(3) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 ··· 18 下一页