字典树
Wang_SF2015
这个作者很懒,什么都没留下…
展开
-
文章标题 HDU 1800:Flying to the Mars(字典树)
Flying to the MarsDescriptionIn the year 8888, the Earth is ruled by the PPF Empire . As the population growing , PPF needs to find more land for the newborns . Finally , PPF decides to attack Kscinow原创 2016-08-09 08:36:20 · 343 阅读 · 0 评论 -
文章标题 POJ 2523 : Colored Sticks(字典树+并查集+欧拉路径)
Colored SticksDescription You are given a bunch of wooden sticks. Each endpoint of each stick is colored with some color. Is it possible to align the sticks in a straight line such that the colors of原创 2016-11-13 21:01:23 · 376 阅读 · 0 评论 -
文章标题 POJ 2503 : Babelfish(字典树)
BabelfishDescription You have just moved from Waterloo to a big city. The people here speak an incomprehensible dialect of a foreign language. Fortunately, you have a dictionary to help you understand原创 2016-11-13 21:37:19 · 432 阅读 · 0 评论