上一页 1 2 3 4 5 6 7 8 ··· 12 下一页
摘要: 点击查看代码 #include<bits/stdc++.h> using namespace std; typedef long long LL; const int N=1e5+10; int n,m; int a[N]; bool check(int x) { int cnt=1; LL sum 阅读全文
posted @ 2026-01-29 22:29 AnoSky 阅读(3) 评论(0) 推荐(0)
摘要: 点击查看代码 #include<bits/stdc++.h> using namespace std; typedef long long LL; const int N=50010; int n,m; LL L; int a[N]; bool check(int x) { int cnt=0; i 阅读全文
posted @ 2026-01-28 21:58 AnoSky 阅读(3) 评论(0) 推荐(0)
摘要: 点击查看代码 #include<bits/stdc++.h> using namespace std; typedef long long LL; const int N=1e6+10; int n; LL m; int h[N]; bool check(int x) { LL sum=0; for 阅读全文
posted @ 2026-01-28 20:03 AnoSky 阅读(3) 评论(0) 推荐(0)
摘要: 点击查看代码 #include<bits/stdc++.h> using namespace std; typedef long long LL; const int N=1e5+10; LL x[N]; int n,m; bool check(int d) { int cnt=1; LL last 阅读全文
posted @ 2026-01-28 20:03 AnoSky 阅读(3) 评论(0) 推荐(0)
摘要: 点击查看代码 #include<bits/stdc++.h> using namespace std; const int N=1e5+10; int n; long long k; long long L[N]; bool check(int x) { long long cnt=0; for(i 阅读全文
posted @ 2026-01-26 23:28 AnoSky 阅读(3) 评论(0) 推荐(0)
摘要: 点击查看代码 #include<bits/stdc++.h> using namespace std; double w,k; int m; bool check(double x) { double rest=w; for(int i=0;i<m;i++){ rest=rest*(1+x)-k; 阅读全文
posted @ 2026-01-26 22:48 AnoSky 阅读(1) 评论(0) 推荐(0)
摘要: 点击查看代码 #include<bits/stdc++.h> using namespace std; double a,b,c,d; double f(double x) { return a*x*x*x+b*x*x+c*x+d; } int main() { cin>>a>>b>>c>>d; i 阅读全文
posted @ 2026-01-26 22:30 AnoSky 阅读(2) 评论(0) 推荐(0)
摘要: 点击查看代码 #include<bits/stdc++.h> using namespace std; typedef long long LL; const int M=1e5+10; int s[M]; int n,m; int main() { ios::sync_with_stdio(0), 阅读全文
posted @ 2026-01-25 23:40 AnoSky 阅读(3) 评论(0) 推荐(0)
摘要: 点击查看代码 #include<bits/stdc++.h> using namespace std; typedef long long LL; const int N=2e5+10; LL a[N]; LL c; int n; int main() { ios::sync_with_stdio( 阅读全文
posted @ 2026-01-25 23:15 AnoSky 阅读(2) 评论(0) 推荐(0)
摘要: 点击查看代码 #include<bits/stdc++.h> using namespace std; const int N=1e6+10; int n,m,q; int a[N]; int main() { ios::sync_with_stdio(0),cin.tie(0); cin>>n>> 阅读全文
posted @ 2026-01-25 22:15 AnoSky 阅读(2) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 12 下一页