
c++ STL
BLF2
这个作者很懒,什么都没留下…
展开
-
SDUTOJ 2167 Mathman Bank 第二届ACM省赛题 模拟
Mathman BankTime Limit: 1000MS Memory limit: 65536K题目描述 With the development of mathmen's mathematics knowlege, they have finally invented computers. Therefore, they want to us原创 2015-04-01 20:54:42 · 713 阅读 · 0 评论 -
POJ 3253 Fence Repair——优先队列 用long long或__int64才能过
Fence RepairTime Limit: 2000MSMemory Limit: 65536KTotal Submissions: 28678Accepted: 9311DescriptionFarmer John wants to repair a small length of the fence a原创 2015-02-21 00:33:17 · 689 阅读 · 0 评论 -
UVAOJ 10420 List of Conquests ——字典树(哈希用法),map
List of ConquestsInput: standard inputOutput: standard outputTime Limit: 2 secondsIn Act I, Leporello is telling Donna Elvira about his master's long list of conquests:``This is the list原创 2014-12-13 20:48:09 · 839 阅读 · 0 评论 -
SDUTOJ 3059 C#中类的继承性 ——字典树(哈希用法),map
C#中类的继承性Time Limit: 1000ms Memory limit: 65536K 有疑问?点这里^_^题目描述在C#中,类的继承遵循以下原则。(1)派生类只能从一个类中继承,即单继承。(2)类的继承是可以传递的,例如:假设类C继承于类B,类B又继承于类A,那么类A是类C的祖先类。 那么现在问题来了,给出一些类的继承关系,求出最多的继承原创 2014-12-13 20:43:06 · 805 阅读 · 0 评论 -
SDUTOJ 1500 ——Message Flood 字典树或map
Message FloodTime Limit: 1500MS Memory limit: 65536K题目描述Well, how do you feel about mobile phone? Your answer would probably be something like that "It's so convenient and benefi原创 2014-11-17 15:09:09 · 851 阅读 · 0 评论 -
SDUTOJ 2127 ——树-堆结构练习——合并果子之哈夫曼树 优先队列
树-堆结构练习——合并果子之哈夫曼树Time Limit: 1000ms Memory limit: 65536K 有疑问?点这里^_^题目描述 在一个果园里,多多已经将所有的果子打了下来,而且按果子的不同种类分成了不同的堆。多多决定把所有的果子合成一堆。每一次合并,多多可以把两堆果子合并到一起,消耗的体力等于两堆果子的重量之和。可以看出,原创 2014-09-09 21:36:38 · 743 阅读 · 0 评论 -
HDOJ 2736 Surprising Strings——c++STL(map)
Surprising StringsTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 349 Accepted Submission(s): 245Problem DescriptionThe D-p原创 2014-08-05 19:51:30 · 576 阅读 · 0 评论 -
POJ 2418——Hardwood Species c++STL(map的应用)
Hardwood SpeciesTime Limit: 10000MSMemory Limit: 65536KTotal Submissions: 18449Accepted: 7311DescriptionHardwoods are the botanical group of trees that have bro原创 2014-08-05 18:33:58 · 785 阅读 · 0 评论 -
SDUTOJ 2109 找女朋友——快排函数的调用
题目描述山东理工大学有很多学生,当然也有很多美女,机械实验班的学委(外号:大王八)很想找个女朋友,但他想找个身高和自己相配的女生坐女朋友,现有理工大N个美女的身高数据,但由于N的值较大,为了尽快找到合适的女友,大王八想请你帮他完成这N个美女的身高排序,按降序排列。输入输入包括两行,第一行是一个正整数N(N输出输出只有一行,为这N个数的降序序列,数与数之间用空格隔开。示例输入原创 2014-03-07 20:27:52 · 1040 阅读 · 0 评论