本博客已停止更新!请移步至louhc.github.io

摘要: "SP25784 BUBBLESORT Bubble Sort" 题目描述 One of the simplest sorting algorithms, the Bubble Sort, can be expressed as (0 based array): Now, given an arra 阅读全文
posted @ 2019-01-15 13:09 louhc 阅读(282) 评论(0) 推荐(0) 编辑
摘要: "UVA12004 Bubble Sort" Check the following code which counts the number of swaps of bubble sort. You have to find the average value of ’count’ in the 阅读全文
posted @ 2019-01-15 12:38 louhc 阅读(274) 评论(0) 推荐(0) 编辑