
STL
文章平均质量分 87
EIKY
这个作者很懒,什么都没留下…
展开
-
POJ---2003-Hire and Fire
Hire and FireTime Limit: 1000MS Memory Limit: 30000KTotal Submissions: 2342 Accepted: 667DescriptionIn this problem, you are asked to keep track of the hierarch原创 2015-08-19 13:52:24 · 558 阅读 · 0 评论 -
HDU---5437-Alisha’s Party(优先队列)(2015 Changchun)
Alisha’s PartyProblem DescriptionPrincess Alisha invites her friends to come to her birthday party. Each of her friends will bring a gift of some value v, and all of them will come原创 2015-09-18 20:32:19 · 621 阅读 · 0 评论 -
Uva-7423-Assigning Workstations(贪心+优先队列)
链接:https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=5445资源占用问题,x,y,y+m分别表示开始时间,结束时间,离开时间,开始->结束过程中占用资源1,在结束->离开时间内如有新的进程进入则可以继续使用资源而不占用新的资原创 2017-04-04 14:18:08 · 670 阅读 · 0 评论 -
STL---简单整理
STL原创 2015-06-12 12:28:13 · 485 阅读 · 0 评论 -
ZOJ-3963-Heap Partition(贪心)(STL)
链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=5595大致题意:用给出的数列a1,a2,a3....an构造二叉树,满足对于下标i和j,有i正序建树模拟一下,找到小于等于当前权值的一个可插入最大值,成为其子节点,找不到则新建树。#include using namespace std;原创 2017-04-25 19:08:52 · 758 阅读 · 0 评论