- HaozesFxPublish 近日无事的时候
- dianzizhong 数码管电子钟
- HMC5883-stc51 HMC5883加速度传感器 51串口测试程序 使用单片机STC89C51 IIC编程
- led 嵌入式系统nios下流水灯程序
- SPYPP 直观[获取进程pid
- program4_qpsk_baseband_without_inbuilt_function.z simulation of a bpsk and qpsk awgn channel. the bpsk and qpsk symbols are passed through a awgn channel and received over various snrs and ber plots
文件名称:1216
介绍说明--下载内容来自于网络,使用问题请自行百度
使用最小化堆实现一个整型的优先队列,实现下列功能:
insert x,将优先级值为x的元素入队
find x,找出优先级值大于x的最小的元素,输出其下标。如果有多个元素优先级值相同输出下标最小的那个。
DECREASE i v,将第i个节点的优先级值减少v。(Using a minimum heap to achieve an integer priority queue, the following functions are implemented: Insert x, adding elements of priority x to the team. Find x finds out the smallest element whose priority value is greater than x, and outputs its subscr ipt. If there are multiple elements with the same priority value, the one with the lowest subscr ipt is output. DECREASE I V reduces the priority value of the I node by v.)
insert x,将优先级值为x的元素入队
find x,找出优先级值大于x的最小的元素,输出其下标。如果有多个元素优先级值相同输出下标最小的那个。
DECREASE i v,将第i个节点的优先级值减少v。(Using a minimum heap to achieve an integer priority queue, the following functions are implemented: Insert x, adding elements of priority x to the team. Find x finds out the smallest element whose priority value is greater than x, and outputs its subscr ipt. If there are multiple elements with the same priority value, the one with the lowest subscr ipt is output. DECREASE I V reduces the priority value of the I node by v.)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
| 文件名 | 大小 | 更新时间 |
|---|---|---|
| 1216\1216.cbp | 1062 | 2018-11-01 |
| 1216\1216.layout | 360 | 2018-11-05 |
| 1216\bin\Debug\1216.exe | 1579039 | 2018-11-05 |
| 1216\main.cpp | 3120 | 2018-11-05 |
| 1216\obj\Debug\main.o | 18960 | 2018-11-05 |
| 1216\bin\Debug | 0 | 2018-11-05 |
| 1216\obj\Debug | 0 | 2018-11-05 |
| 1216\bin | 0 | 2018-11-05 |
| 1216\obj | 0 | 2018-11-05 |
| 1216 | 0 | 2018-11-05 |
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
