摘要: #include <bits/stdc++.h> using namespace std; const int N = 5e5 + 10; int n, m; int a[N]; struct Node { int l, r; int lmax, rmax, tmax; /* lmax 表示从该区间 阅读全文
posted @ 2022-02-11 11:27 Angels_of_Death 阅读(51) 评论(0) 推荐(0)
摘要: #include <bits/stdc++.h> using namespace std; const int N = 5e5 + 10; int n, m; int a[N]; struct Node { int l, r; int sum, lmax, rmax, tmax; //sum, // 阅读全文
posted @ 2022-02-11 00:41 Angels_of_Death 阅读(27) 评论(0) 推荐(0)