CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - heap insert
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Sub Category
Compress-Decompress algrithms
STL
Data structs
Algorithm
AI-NN-PR
matlab
Bio-Recognize
Crypt_Decrypt algrithms
mathematica
Maple
DataMining
Big Data
comsol
physical calculation
chemical calculation
simulation modeling
Search - heap insert - List
[
Mathimatics-Numerical algorithms
]
kmethod_exe
DL : 0
大约有10种排序方法,如堆排序、快速排序、归并排序、插入排序、外壳排序、选择排序、早泡排序、线性排序、地址选择排序和基排序。我自己提出了一种简化的快速排序。-about 10 species of sequencing methods, such as heap sort, quick sort, merge, in order to insert sequencing, shell sort, select, in order of ranking as foam, linear ordering, sequencing and address choice-based ranking. I propose a simplified Quick Sort.
Date
: 2008-10-13
Size
: 4.63kb
User
:
宁华锋
[
Mathimatics-Numerical algorithms
]
AlgorithmGossip
DL : 0
排序 得分排行 選擇、插入、氣泡排序 Shell 排序法 - 改良的插入排序 Shaker 排序法 - 改良的氣泡排序 Heap 排序法 - 改良的選擇排序 快速排序法(一) 快速排序法(二) 快速排序法(三) 合併排序法 基數排序法-Sort ranked scoring option, insert, Bubble Sort Shell Sort- Insertion Sort Shaker improved sorting method- the improved bubble sort Heap Sort- choose sort improved rapid sequencing method (a) quick sort method (b) the quick sort method (c ) merge sort method to sort the base method
Date
: 2025-12-15
Size
: 680kb
User
:
a29768
[
Mathimatics-Numerical algorithms
]
C
DL : 0
各种排序算法详细讲解及源代码(快排,冒泡,选择,基数排序,堆排序,插入)(Various sorting algorithms are explained in detail and source code (fast row, bubble, selection, cardinality sort, heap sort, insert).)
Date
: 2025-12-15
Size
: 5.36mb
User
:
心海逐浪
[
Mathimatics-Numerical algorithms
]
OnlineJudge_1216
DL : 1
1216. heap Description 使用最小化堆实现一个整型的优先队列,实现下列功能: insert x,将优先级值为x的元素入队 find x,找出优先级值大于x的最小的元素,输出其下标。如果有多个元素优先级值相同输出下标最小的那个。 DECREASE i v,将第i个节点的优先级值减少v。 Input Format 第一行含有一个正整数M(1<=M<=20000),代表总的操作数。 以下M行,每行一个操作。 Output Format 对于每个find操作,输出一个下标。回车分隔。 Sample Input1 9 insert 5 insert 6 insert 7 find 5 find 6 decrease 1 3 decrease 2 5 decrease 3 5 find 1 Sample Output1 2 3 2 Limit 输入数据保证合法 find操作只要求时间复杂度O(n),其他操作要求O(logn)(The answer for online judge 1216.)
Date
: 2025-12-15
Size
: 1kb
User
:
oumazio
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.