![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
排序
Reast1nPeace
NUC acm/icpc
展开
-
插入排序 Insertion Sort Aizu - ALDS1_1_A
题目: Write a program of the Insertion Sort algorithm which sorts a sequence A in ascending order. The algorithm should be based on the following pseudocode: for i = 1 to A.length-1 key = A[i]原创 2018-01-19 13:27:53 · 350 阅读 · 0 评论 -
冒泡排序 Bubble Sort Aizu - ALDS1_2_A
题目: Write a program of the Bubble Sort algorithm which sorts a sequence A in ascending order. The algorithm should be based on the following pseudocode: BubbleSort(A) 1 for i = 0 to A.length-1 2原创 2018-01-19 14:16:53 · 360 阅读 · 0 评论 -
选择排序 Selection Sort Aizu - ALDS1_2_B
题目: Write a program of the Selection Sort algorithm which sorts a sequence A in ascending order. The algorithm should be based on the following pseudocode: SelectionSort(A) 1 for i = 0 to A.leng原创 2018-01-19 14:28:20 · 337 阅读 · 0 评论