mirror of
https://github.com/142vip/408CSFamily.git
synced 2026-02-03 18:43:20 +08:00
feat: 修改代码
This commit is contained in:
@@ -1,12 +1,5 @@
|
||||
/*
|
||||
* @Description: 希尔排序【伪代码】
|
||||
* @Version: Beta1.0
|
||||
* @Author: 【B站&公众号】Rong姐姐好可爱
|
||||
* @Date: 2021-04-13 13:05:22
|
||||
* @LastEditors: 【B站&公众号】Rong姐姐好可爱
|
||||
* @LastEditTime: 2021-03-27 17:03:41
|
||||
*/
|
||||
|
||||
// 希尔排序【伪代码】
|
||||
void ShellSort(ElemType Arr[] , int n){
|
||||
// k是增量
|
||||
for(k=n/2;k>=1;k=k/2){
|
||||
|
||||
Reference in New Issue
Block a user