From 5c0c4c27ebeae76371896c0fcaf8c4b1b5ae38ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=8F=AD=E9=98=B3=E4=B8=BD?= <2431466589@qq.com> Date: Fri, 9 Dec 2022 07:34:54 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E7=AC=AC=E4=B8=83=E6=AC=A1=E4=BD=9C?= =?UTF-8?q?=E4=B8=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../20221208 \346\225\260\347\273\204.txt" | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 "37 \346\217\255\351\230\263\344\270\275/20221208 \346\225\260\347\273\204.txt" diff --git "a/37 \346\217\255\351\230\263\344\270\275/20221208 \346\225\260\347\273\204.txt" "b/37 \346\217\255\351\230\263\344\270\275/20221208 \346\225\260\347\273\204.txt" new file mode 100644 index 0000000..7a259ba --- /dev/null +++ "b/37 \346\217\255\351\230\263\344\270\275/20221208 \346\225\260\347\273\204.txt" @@ -0,0 +1,23 @@ +```JAVA +package 储存; + + import java.util.Scanner; + public class A1 { + public static void main(String[] args) { + int [] arr = {5}; + Scanner sc =new Scanner(System.in); + for (int p=0;p Date: Tue, 13 Dec 2022 23:03:39 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E7=AC=AC=E5=85=AB=E6=AC=A1=E4=BD=9C?= =?UTF-8?q?=E4=B8=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../20221212 \344\275\234\344\270\232.txt" | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 "37 \346\217\255\351\230\263\344\270\275/20221212 \344\275\234\344\270\232.txt" diff --git "a/37 \346\217\255\351\230\263\344\270\275/20221212 \344\275\234\344\270\232.txt" "b/37 \346\217\255\351\230\263\344\270\275/20221212 \344\275\234\344\270\232.txt" new file mode 100644 index 0000000..2191b6c --- /dev/null +++ "b/37 \346\217\255\351\230\263\344\270\275/20221212 \344\275\234\344\270\232.txt" @@ -0,0 +1,36 @@ +```java +{ + // 在编程竞赛中,有五个评委为参加选手打分,分数0——100的整数分,选手的最后得分为:去掉一个最高分和一个最低分,另外三个评委的平均值(不考虑小数部分。) + public static void main(String[] args) { + Random ra = new Random(); + int[] fenshu = new int[6]; + for (int i=0 ;ifenshu[i]){ + min=fenshu[i]; + } + if (max