摘要:
#include <bits/stdc++.h> using namespace std; const int N=1e6+10; int s[N<<1],q[N<<1]; int n; int main(){ scanf("%d",&n); for(int i=1;i<=n;i++) scanf( 阅读全文
posted @ 2025-03-30 11:25
九三青梧
阅读(6)
评论(0)
推荐(0)
摘要:
#include <bits/stdc++.h> using namespace std; const int N=5e5+10; int s[N],q[N]; int n,m; int main(){ scanf("%d%d",&n,&m); for(int i=1;i<=n;i++) scanf 阅读全文
posted @ 2025-03-30 10:48
九三青梧
阅读(6)
评论(0)
推荐(0)
摘要:
#include <bits/stdc++.h> using namespace std; const int N=1e3+10; typedef long long ll; int n,m,k; int w[N][N],res_min[N][N],res_max[N][N]; int a[N],q 阅读全文
posted @ 2025-03-30 09:10
九三青梧
阅读(6)
评论(0)
推荐(0)
摘要:
#include <bits/stdc++.h> using namespace std; const int N=5e4+10; int w[N],f[N],n,m,q[N]; bool check(int limit){ int hh=0,tt=0; for(int i=1;i<=n;i++){ 阅读全文
posted @ 2025-03-30 08:23
九三青梧
阅读(16)
评论(0)
推荐(0)