From f702d0001ba381b05b19e85acce4a3f501376485 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=95=8F?= <2538445285@qq.com> Date: Sun, 14 Apr 2024 00:03:52 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=8E=92=E5=BA=8F?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- codes/liu-xiaominminmin/15882343.java | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 codes/liu-xiaominminmin/15882343.java diff --git a/codes/liu-xiaominminmin/15882343.java b/codes/liu-xiaominminmin/15882343.java new file mode 100644 index 000000000..4765eb009 --- /dev/null +++ b/codes/liu-xiaominminmin/15882343.java @@ -0,0 +1,11 @@ +public static void bubbleSort(int []a,int n){ + for(int i=i;ia[j+1]){ + int temp = a[j]; + a[j]=a[j+1]; + a[j+1]=temp; + } + } + } +} -- Gitee From e3815099b09469eed277ff89ed411dd446e093b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=95=8F?= <2538445285@qq.com> Date: Mon, 15 Apr 2024 15:53:39 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=8E=92=E5=BA=8F?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- codes/liu-xiaominminmin/15882343.java | 11 ----------- codes/liu-xiaominminmin/15897724.java | 12 ++++++++++++ 2 files changed, 12 insertions(+), 11 deletions(-) delete mode 100644 codes/liu-xiaominminmin/15882343.java create mode 100644 codes/liu-xiaominminmin/15897724.java diff --git a/codes/liu-xiaominminmin/15882343.java b/codes/liu-xiaominminmin/15882343.java deleted file mode 100644 index 4765eb009..000000000 --- a/codes/liu-xiaominminmin/15882343.java +++ /dev/null @@ -1,11 +0,0 @@ -public static void bubbleSort(int []a,int n){ - for(int i=i;ia[j+1]){ - int temp = a[j]; - a[j]=a[j+1]; - a[j+1]=temp; - } - } - } -} diff --git a/codes/liu-xiaominminmin/15897724.java b/codes/liu-xiaominminmin/15897724.java new file mode 100644 index 000000000..9765eef64 --- /dev/null +++ b/codes/liu-xiaominminmin/15897724.java @@ -0,0 +1,12 @@ +public static void bubbleSort(int []a,int n){ + for(int i=0;ia[j+1]){ + int temp = a[j]; + a[j]=a[j+1]; + a[j+1]=temp; + } + } + } +} + -- Gitee