摘要: 点击查看代码 #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)