数据结构
kirito16
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
uva 11991 - Easy Problem from Rujia Liu?
Problem E Easy Problem from Rujia Liu? Though Rujia Liu usually sets hard problems for contests (for example, regional contests like Xi'an 2006, Beijing 2007 and Wuhan 2009, or UVa OJ contes原创 2014-08-02 14:19:45 · 420 阅读 · 0 评论 -
HYSBZ 1146- 网络管理Network树链剖分+主席树
Time Limit:50000MS Memory Limit:165888KB 64bit IO Format:%lld & %llu SubmitStatusPracticeHYSBZ 1146 Description M公司是一个非常庞大的跨国公司,在许多国家都设有它的下属分支机构或部门。为了让分布在世界各地的N个部门之间协同工作,公司搭建了一个连接整个原创 2015-08-06 20:33:24 · 659 阅读 · 0 评论 -
SPOJ COT - Count on a tree树链剖分加主席树
B - Count on a tree Time Limit:129MS Memory Limit:1572864KB 64bit IO Format:%lld & %llu SubmitStatusPracticeSPOJ COT Description You are given a tree with N nodes.The tree nodes原创 2015-08-04 21:43:09 · 486 阅读 · 0 评论 -
hdu-4348-To the moon-主席树在线区间更新
To the moon Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 2937 Accepted Submission(s): 576 Problem Description Background To The原创 2015-08-04 00:15:45 · 2418 阅读 · 0 评论 -
hdu-4417-Super Mario-只查询的主席树
Super Mario Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 3292 Accepted Submission(s): 1538 Problem Description Mario is world-fam原创 2015-08-03 20:39:59 · 1529 阅读 · 0 评论 -
zoj-2112-Dynamic Rankings主席树模板
Dynamic Rankings Time Limit: 10 Seconds Memory Limit: 32768 KB The Company Dynamic Rankings has developed a new kind of computer that is no longer satisfied with the query like to simply原创 2015-08-02 21:59:08 · 648 阅读 · 0 评论 -
hdu1272- 小希的迷宫
上次Gardon的迷宫城堡小希玩了很久(见Problem B),现在她也想设计一个迷宫让Gardon来走。但是她设计迷宫的思路不一样,首先她认为所有的通道都应该是双向连通的,就是说如果有一个通道连通了房间A和B,那么既可以通过它从房间A走到房间B,也可以通过它从房间B走到房间A,为了提高难度,小希希望任意两个房间有且仅有一条路径可以相通(除非走了回头路)。小希现在把她的设计图给你,让你帮忙判断她的原创 2014-08-03 10:43:18 · 362 阅读 · 0 评论 -
hdu4393Throw nails
Time Limit:2000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Submit Status Description The annual school bicycle contest started. ZL is a student in this school. He is so boring原创 2014-08-03 10:04:21 · 391 阅读 · 0 评论 -
hdu1394-Minimum Inversion Number
Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Submit Status Description The inversion number of a given number sequence a1, a2, ..., an is the number of pairs (ai原创 2014-08-04 15:40:52 · 316 阅读 · 0 评论 -
poj2299—Ultra-QuickSort
Ultra-QuickSort Time Limit:7000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64u Submit Status Description In this problem, you have to analyze a particular sorting algorithm. The原创 2014-08-03 00:47:21 · 340 阅读 · 0 评论 -
SPOJ-DQUERY-主席树求区间不同数个数模板
A - D-query Time Limit:227MS Memory Limit:1572864KB 64bit IO Format:%lld & %llu SubmitStatusPracticeSPOJ DQUERY Appoint description: Description English Vietnames原创 2015-08-06 22:44:38 · 618 阅读 · 0 评论
分享