摘要:
优先队列 优先队列与普通队列不同之处在于我们可以自定义元素的优先级高低,来决定谁先出队列。 基本操作与queue大致相同,底层是一个堆来实现的。 top() 返回队首元素 empty() 判空 size() 返回队列元素个数 push() 队尾插入元素(并排序) pop() 弹出队首元素 swap( 阅读全文
posted @ 2020-08-14 11:14
不敢说的梦
阅读(131)
评论(0)
推荐(0)
摘要:
题目链接: ZOJ 2724 Describe: Message queue is the basic fundamental of windows system. For each process, the system maintains a message queue. If somethin 阅读全文
posted @ 2020-08-14 11:09
不敢说的梦
阅读(166)
评论(0)
推荐(0)

浙公网安备 33010602011771号