摘要: #include<cstdio> #include<algorithm> #define ll long long using namespace std; const int N=1e5+10; int h[N<<1],cnt,n,root,p; ll dp[N<<1][2],v[N<<1]; s 阅读全文
posted @ 2019-10-22 17:21 sooner 阅读(69) 评论(0) 推荐(0) 编辑
摘要: #include<cstdio> #define ll long long #include<algorithm> using namespace std; const int N=1e5+10; const ll mod=1e9+7; int v[N],h[N],n,p,cnt; ll dp[N] 阅读全文
posted @ 2019-10-22 17:18 sooner 阅读(11) 评论(0) 推荐(0) 编辑