随笔分类 - 技巧-扫描线
摘要: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
阅读全文
摘要: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
阅读全文

浙公网安备 33010602011771号