随笔分类 -  技巧-扫描线

摘要:1 #include<bits/stdc++.h> 2 #define ll long long 3 using namespace std; 4 const ll N=1e5+11,M=2e5+11,Tree_Sz=2e6+11; 5 ll n,xx[N][2],yy[N][2]; 6 ll nu 阅读全文
posted @ 2021-10-02 19:56 上官书房 阅读(47) 评论(0) 推荐(0)
摘要:1 #include<bits/stdc++.h> 2 #define int long long 3 using namespace std; 4 const int N=1e5+11; 5 int n,h[N],a[N],ans[N]; 6 int sta[N],top; 7 8 inline 阅读全文
posted @ 2021-09-05 11:02 上官书房 阅读(47) 评论(1) 推荐(1)