摘要: 题目描述 A newspaper is published in Walrusland. Its heading is s 1 , it consists of lowercase Latin letters. Fangy the little walrus wants to buy several 阅读全文
posted @ 2019-10-30 21:26 知道了呀~ 阅读(445) 评论(0) 推荐(0) 编辑
摘要: 一、选择排序 算法原理 比较未排序区域的元素,每次选出最大或最小的元素放到排序区域。 一趟比较完成之后,再从剩下未排序的元素开始比较。 反复执行以上步骤,只到排序完成。 时间复杂度 图示 代码: void quick_pow(int n,int a[]) { for(int i=0;i<n;i++) 阅读全文
posted @ 2019-10-30 16:34 知道了呀~ 阅读(1531) 评论(0) 推荐(1) 编辑