From 1f2ba327e1e7f7c7bc1a9e58788150e9677f81e2 Mon Sep 17 00:00:00 2001 From: A-666666 Date: Mon, 15 Apr 2024 15:18:57 +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 --- A666666/.15895692.swp | Bin 0 -> 12288 bytes A666666/15895692.java | 11 +++++++++++ 2 files changed, 11 insertions(+) create mode 100644 A666666/.15895692.swp create mode 100644 A666666/15895692.java diff --git a/A666666/.15895692.swp b/A666666/.15895692.swp new file mode 100644 index 0000000000000000000000000000000000000000..cb06d87fd83938147f9d6e479bda573be54ef228 GIT binary patch literal 12288 zcmeI%O-lkn7zgk%It9H@Utp?>v2E@uZiX3j?9eHUP(1AVLbIr&>nKQM(6{MhbP2k7 z>~r)9dS;u2Q1N63;Xm-~xHJD}Tz=qTF>vm0Zh7I%VKnyi<#&8rj73ta_p8*blwlWe!eo-GSLTS{JIh&p~m*0{wQTTbM3_=T z+vQx=jeqLLM~D1izr2!DaR>w;009U<00Izz00bbg9s;VDVlVWl8|HDh%$%B;%`GMf zKmY;|fB*y_009U<00Izz00h=hz;7`2y2IE9mHz)fdH@*xTjM3w?DQzg z*@8^6L|ICjj%7j7RXjeh#C6Z2sA#3*y(@Fv$3QMkrWLc41=KEypxfNTdFngpT^(PrTh=`wQnx~ literal 0 HcmV?d00001 diff --git a/A666666/15895692.java b/A666666/15895692.java new file mode 100644 index 00000000..3c468f9f --- /dev/null +++ b/A666666/15895692.java @@ -0,0 +1,11 @@ +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 From f7126646e7f2fff75f144deef4fe7845581deda2 Mon Sep 17 00:00:00 2001 From: A666666 <3079903758qq.com> Date: Mon, 15 Apr 2024 16:19:58 +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/A666666/15895692.java | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 codes/A666666/15895692.java diff --git a/codes/A666666/15895692.java b/codes/A666666/15895692.java new file mode 100644 index 00000000..1990526f --- /dev/null +++ b/codes/A666666/15895692.java @@ -0,0 +1,11 @@ +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