上一页 1 2 3 4 5 6 ··· 16 下一页
摘要: 点击查看代码 #include<bits/stdc++.h> using namespace std; int t; void solve() { long long a,b,c,k; cin>>a>>b>>c>>k; while(k--){ if(a==b&&b==c){ break; } lon 阅读全文
posted @ 2026-03-02 20:07 AnoSky 阅读(2) 评论(0) 推荐(0)
摘要: 点击查看代码 #include<bits/stdc++.h> using namespace std; int n; int main() { ios::sync_with_stdio(0),cin.tie(0); cin>>n; int a; int ans=0; while(n--){ cin> 阅读全文
posted @ 2026-03-02 19:40 AnoSky 阅读(2) 评论(0) 推荐(0)
摘要: 点击查看代码 #include<bits/stdc++.h> using namespace std; const int N=3010,M=10010; int h[N],e[M],ne[M],idx; double w[M]; int n,m; double dist[N]; int cnt[N 阅读全文
posted @ 2026-02-24 22:45 AnoSky 阅读(2) 评论(0) 推荐(0)
摘要: 点击查看代码 #include<bits/stdc++.h> using namespace std; const int N=1e4+10,M=5e4+10; int dist[N],cnt[N],st[N]; int h[N],ne[M],e[M],w[M],idx; int n,m; void 阅读全文
posted @ 2026-02-24 21:40 AnoSky 阅读(1) 评论(0) 推荐(0)
摘要: 点击查看代码 #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 阅读(1) 评论(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 阅读(2) 评论(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 阅读(1) 评论(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 阅读(2) 评论(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 阅读(1) 评论(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 阅读(3) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 16 下一页