From 348c1814be902eadd3046fcd4305d8e1a844dc06 Mon Sep 17 00:00:00 2001 From: d15311185156 <1531185156@qq.com> Date: Mon, 15 Apr 2024 15:21:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=8E=92=E5=BA=8F=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- codes/dty1531185156/15895555.java | 15 +++++++++++++++ codes/dty1531185156/9622480.java | 15 +++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 codes/dty1531185156/15895555.java create mode 100644 codes/dty1531185156/9622480.java diff --git a/codes/dty1531185156/15895555.java b/codes/dty1531185156/15895555.java new file mode 100644 index 00000000..a0b133c8 --- /dev/null +++ b/codes/dty1531185156/15895555.java @@ -0,0 +1,15 @@ +public static void bubbleSsort(int []a,int n) +{ + for(int i=0;ia[j+1]) + { + int temp=a[j]; + a[j]=a[j+1]; + a[j+1]=temp; + } + } + } +} diff --git a/codes/dty1531185156/9622480.java b/codes/dty1531185156/9622480.java new file mode 100644 index 00000000..8f282b3c --- /dev/null +++ b/codes/dty1531185156/9622480.java @@ -0,0 +1,15 @@ +public static void bubbleSsort(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