摘要:
#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 阅读全文
摘要:
#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] 阅读全文