![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
优先队列
__铭
这个作者很懒,什么都没留下…
展开
-
poj 2442 Sequence
DescriptionGiven m sequences, each contains n non-negative integer. Now we may select one number from each sequence to form a sequence with m integers. It's clear that we may get n ^ m this kind of原创 2015-08-17 21:30:01 · 321 阅读 · 0 评论 -
poj 1442 Black Box
DescriptionOur Black Box represents a primitive database. It can save an integer array and has a special i variable. At the initial moment Black Box is empty and i equals 0. This Black Box processes原创 2015-08-17 21:30:26 · 344 阅读 · 0 评论 -
sdut 3334 数据结构实验之栈七:出栈序列判定
数据结构实验之栈七:出栈序列判定Time Limit: 30MS Memory limit: 1000K题目描述给一个初始的入栈序列,其次序即为元素的入栈次序,栈顶元素可以随时出栈,每个元素只能入栈依次。输入一个入栈序列,后面依次输入多个序列,请判断这些序列是否为所给入栈序列合法的出栈序列。例如序列1,2,3,4,5是某栈的压入顺序,序列4,5,3,2,1是该压栈序原创 2015-10-07 22:49:23 · 1759 阅读 · 0 评论 -
HDU 5347 多校赛1007 MZL's simple problem
Problem DescriptionA simple problemProblem DescriptionYou have a multiple set,and now there are three kinds of operations:1 x : add number x to set2 : delete the minimum number (if the set is原创 2015-08-04 15:43:37 · 371 阅读 · 0 评论