摘要: ```cpp include include using namespace std; int s[2000005][2], cnt, n, m, x, uu, ans, dep[2000005], siz[2000005]; void ins(){ int u=0; for(int i=19; i 阅读全文
posted @ 2018-02-11 21:12 poorpool 阅读(127) 评论(0) 推荐(0)
摘要: ```cpp include include include include using namespace std; typedef long long ll; int n, m; ll a[500005], uu, vv, lst, qzh[500005]; struct SGT{ ll sum 阅读全文
posted @ 2018-02-11 17:33 poorpool 阅读(573) 评论(0) 推荐(0)
摘要: ```cpp #include #include using namespace std; typedef long long ll; int n, m, T, uu, vv, ww; const int mod=1000000007; char ss[100005]; struct Matrix{ int ma[3][3]; Matrix operator * (const Matrix... 阅读全文
posted @ 2018-02-11 16:04 poorpool 阅读(116) 评论(0) 推荐(0)
摘要: 差分一下上线段树 阅读全文
posted @ 2018-02-11 10:33 poorpool 阅读(142) 评论(0) 推荐(0)
摘要: 11日 luogu T21778 hdu 6155 12日 luogu 3380 13日 luogu 3415 luogu 4093 15日 luogu 3593 17日 luogu 3959 19日 luogu 3960 20日 luogu 1955 poj 1456 21日 poj 1733 2 阅读全文
posted @ 2018-02-11 10:32 poorpool 阅读(128) 评论(0) 推荐(0)