From 32c03c87c9107d0f025ec4d306d1381ce4d6476a Mon Sep 17 00:00:00 2001 From: pmkfqw2gu <2511089200@qq.com> Date: Thu, 17 Feb 2022 21:10:09 +0800 Subject: [PATCH] =?UTF-8?q?Update=20=E6=8F=92=E5=85=A5=E6=B3=95.cpp?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 插入法.cpp | 62 ++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 47 insertions(+), 15 deletions(-) diff --git a/插入法.cpp b/插入法.cpp index 9858fef..db01d71 100644 --- a/插入法.cpp +++ b/插入法.cpp @@ -1,15 +1,47 @@ -void insert(int *a,int n) -{ - int i,j,temp; - for(i=1;i=0&&temp