STL
文章平均质量分 91
EIKY
这个作者很懒,什么都没留下…
展开
-
POJ---2003-Hire and Fire
Hire and Fire Time Limit: 1000MS Memory Limit: 30000K Total Submissions: 2342 Accepted: 667 Description In this problem, you are asked to keep track of the hierarch原创 2015-08-19 13:52:24 · 514 阅读 · 0 评论 -
HDU---5437-Alisha’s Party(优先队列)(2015 Changchun)
Alisha’s Party Problem Description Princess 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 · 585 阅读 · 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 · 621 阅读 · 0 评论 -
STL---简单整理
STL原创 2015-06-12 12:28:13 · 456 阅读 · 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 · 707 阅读 · 0 评论