From 87696fdff378fd0a03d8d94b9cfbd1cbaf6c5cf0 Mon Sep 17 00:00:00 2001 From: pzs93xi8q <2927226454@qq.com> Date: Thu, 17 Feb 2022 18:06:23 +0800 Subject: [PATCH] ADD file via upload --- shell法.cpp | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 shell法.cpp diff --git a/shell法.cpp b/shell法.cpp new file mode 100644 index 0000000..1c22c13 --- /dev/null +++ b/shell法.cpp @@ -0,0 +1,20 @@ +void shell(int *a,int n) +{ + int i,j,k,x; + k=n/2; /*���ֵ*/ + while(k>=1) + { + for(i=k;i=0&&x