摘要:
1001. Magician (hdu5316)这个题目用到线段树来合并区间,题目有句话的意思A beautiful subsequence is a subsequence that all the adjacent pairs of elves in the sequence have a di... 阅读全文
摘要:
入门看这篇http://blog.sina.com.cn/s/blog_7a1746820100wp67.html一个入门题目QTREE - Query on a treeno tagsYou are given a tree (an acyclic undirected connected gra... 阅读全文
摘要:
Grandpa's EstateTime Limit:1000MSMemory Limit:10000KTotal Submissions:11289Accepted:3117DescriptionBeing the only living descendant of his grandfather... 阅读全文