摘要: #1580 : Matrix时间限制:1000ms单点时限:1000ms内存限制:256MB描述Once upon a time, there was a little dog YK. One day, he went to an antique shop and w... 阅读全文
posted @ 2018-05-01 14:14 The-Pines-of-Star 阅读(142) 评论(0) 推荐(0) 编辑
摘要: 题目:http://acm.hdu.edu.cn/showproblem.php?pid=1253四个程序:错误程序#include#include#include#includeusing namespace std;const int maxn=60;int mp... 阅读全文
posted @ 2018-04-01 22:01 The-Pines-of-Star 阅读(316) 评论(0) 推荐(0) 编辑
摘要: 在高中的时候就听到过主席树了,感觉非常高端,在寒假的时候 winter homework中有一题是查找区间第K大的树,当时就开始百度这种网上的博客,发现主席树看不懂,因为那个root[i],还有tx[x].l与tx[x].r是什么意思没有搞懂,所以那时候那题用... 阅读全文
posted @ 2018-04-01 14:37 The-Pines-of-Star 阅读(95) 评论(0) 推荐(0) 编辑
摘要: 目前的题型概括为三种:普通莫队,树形莫队以及带修莫队。下面介绍普通莫队算法:普通莫队算法是一种离线算法,不带修改 操作。其通过对询问操作的执行顺序进行更改,然后使用最暴力的方法,可以达到很好的复杂度。首先,如果要用莫队算法,则必须满足已知ans[l,r]可以得到ans... 阅读全文
posted @ 2018-04-01 13:50 The-Pines-of-Star 阅读(164) 评论(0) 推荐(0) 编辑
摘要: How far away ?Problem DescriptionThere are n houses in the village and some bidirectional roads connecting them. Every day peole alway... 阅读全文
posted @ 2018-03-22 16:28 The-Pines-of-Star 阅读(338) 评论(0) 推荐(0) 编辑
摘要: InputStandard input begins with an integer T≤1T≤1, the number of test cases.Each test case consists of two polynomials. A polynomial i... 阅读全文
posted @ 2018-03-22 16:19 The-Pines-of-Star 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 终日昏昏沉沉,半睡半醒虚度光阴的我,在回家的路上突然想到,当父母去世的那一刻是什么感觉?当我坐在父母坟前是什么感觉? 在尚且的今日,我感到漫天扑来的愧疚与思念。 往事不要再提,人生已多风雨。 也许只有那一刻才能真正体会到人间孤独,和死亡来临的每天恐... 阅读全文
posted @ 2018-02-17 20:52 The-Pines-of-Star 阅读(163) 评论(0) 推荐(0) 编辑
摘要: GCDTime Limit: 10000/5000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 4549 Accepted Submissio... 阅读全文
posted @ 2018-01-05 22:04 The-Pines-of-Star 阅读(132) 评论(0) 推荐(0) 编辑
摘要: bzoj 500省赛 金牌icpc 金牌不熬夜打游戏,看小说 阅读全文
posted @ 2017-12-31 23:58 The-Pines-of-Star 阅读(63) 评论(0) 推荐(0) 编辑
摘要: Let the Balloon RiseTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 132312 ... 阅读全文
posted @ 2017-12-26 22:07 The-Pines-of-Star 阅读(112) 评论(0) 推荐(0) 编辑