STL
文章平均质量分 64
我是一只小菜鸟0_0
这个作者很懒,什么都没留下…
展开
-
ZOJ 1109 Language of FatMouse 【STL】
Description We all know that FatMouse doesn't speak English. But now he has to be prepared since our nation will join WTO soon. Thanks to Turing we have computers to help him. Input Specification原创 2014-08-09 19:50:15 · 473 阅读 · 0 评论 -
SDUTOJ 2127 树-堆结构练习——合并果子之哈夫曼树 【STL】
Description 在一个果园里,多多已经将所有的果子打了下来,而且按果子的不同种类分成了不同的堆。多多决定把所有的果子合成一堆。 每一次合并,多多可以把两堆果子合并到一起,消耗的体力等于两堆果子的重量之和。可以看出,所有的果子经过n-1次合并之后,就只剩下一堆了。多多在合并果子时总共消耗的体力等于每次合并所消耗体力之和。 Input 第一行是一个整数n(1原创 2014-08-14 14:06:53 · 603 阅读 · 0 评论 -
SDUTOJ 1500 Message Flood 【STL】
Description Well, how do you feel about mobile phone? Your answer would probably be something like that "It's so convenient and benefits people a lot". However, If you ask Merlin this question on t原创 2014-08-14 14:09:57 · 386 阅读 · 0 评论 -
POJ 3096 Surprising Strings 【STL】
Description The D-pairs of a string of letters are the ordered pairs of letters that are distance D from each other. A string is D-unique if all of its D-pairs are different. A string is surprising原创 2014-08-13 20:00:22 · 398 阅读 · 0 评论 -
POJ 1731 Orders 【STL】
http://poj.org/problem?id=1731原创 2014-07-30 16:42:42 · 412 阅读 · 0 评论 -
POJ 2418 Hardwood Species 【STL】
Description Hardwoods are the botanical group of trees that have broad leaves, produce a fruit or nut, and generally go dormant in the winter. America's temperate climates produce forests with hu原创 2014-08-14 11:18:40 · 402 阅读 · 0 评论