From fb25f804081c97d82a931d7af7bb9540b19f1003 Mon Sep 17 00:00:00 2001 From: wumingfang Date: Mon, 6 Mar 2023 16:22:39 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E6=B0=B4=E4=BB=99=E8=8A=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- "exercises/wumf/\347\256\200\345\215\225/ShuiXianHua.java" | 4 ++-- "exercises/wumf/\347\256\200\345\215\225/exercies.md" | 4 ++-- "exercises/wumf/\347\256\200\345\215\225/test_cases/1.out" | 1 + "exercises/wumf/\347\256\200\345\215\225/test_cases/10.out" | 1 + "exercises/wumf/\347\256\200\345\215\225/test_cases/2.out" | 1 + "exercises/wumf/\347\256\200\345\215\225/test_cases/3.out" | 1 + "exercises/wumf/\347\256\200\345\215\225/test_cases/4.out" | 1 + "exercises/wumf/\347\256\200\345\215\225/test_cases/5.out" | 1 + "exercises/wumf/\347\256\200\345\215\225/test_cases/6.out" | 1 + "exercises/wumf/\347\256\200\345\215\225/test_cases/7.out" | 1 + "exercises/wumf/\347\256\200\345\215\225/test_cases/8.out" | 1 + "exercises/wumf/\347\256\200\345\215\225/test_cases/9.out" | 1 + 12 files changed, 14 insertions(+), 4 deletions(-) create mode 100644 "exercises/wumf/\347\256\200\345\215\225/test_cases/1.out" create mode 100644 "exercises/wumf/\347\256\200\345\215\225/test_cases/10.out" create mode 100644 "exercises/wumf/\347\256\200\345\215\225/test_cases/2.out" create mode 100644 "exercises/wumf/\347\256\200\345\215\225/test_cases/3.out" create mode 100644 "exercises/wumf/\347\256\200\345\215\225/test_cases/4.out" create mode 100644 "exercises/wumf/\347\256\200\345\215\225/test_cases/5.out" create mode 100644 "exercises/wumf/\347\256\200\345\215\225/test_cases/6.out" create mode 100644 "exercises/wumf/\347\256\200\345\215\225/test_cases/7.out" create mode 100644 "exercises/wumf/\347\256\200\345\215\225/test_cases/8.out" create mode 100644 "exercises/wumf/\347\256\200\345\215\225/test_cases/9.out" diff --git "a/exercises/wumf/\347\256\200\345\215\225/ShuiXianHua.java" "b/exercises/wumf/\347\256\200\345\215\225/ShuiXianHua.java" index 620f86e..66559e7 100644 --- "a/exercises/wumf/\347\256\200\345\215\225/ShuiXianHua.java" +++ "b/exercises/wumf/\347\256\200\345\215\225/ShuiXianHua.java" @@ -20,9 +20,9 @@ public class TestMain { if (number1 * number1 * number1 + number2 * number2 * number2 + number3 * number3 * number3 == number) { - System.out.println(number + "是水仙花数"); + System.out.println("是"); } else { - System.out.println(number + "不是水仙花数"); + System.out.println("不是"); } } diff --git "a/exercises/wumf/\347\256\200\345\215\225/exercies.md" "b/exercises/wumf/\347\256\200\345\215\225/exercies.md" index c4d52c7..df46f40 100644 --- "a/exercises/wumf/\347\256\200\345\215\225/exercies.md" +++ "b/exercises/wumf/\347\256\200\345\215\225/exercies.md" @@ -2,7 +2,7 @@ 水仙花数,一个三位数,其各位数字得立方和等于本身, 例如 153 = 1*1*1 + 5*5*5 + 3*3*3。 -输入一个数字,判断是否是水仙花数。 +输入一个大于100,小于1000的整数,输出是否是水仙花数。 ## 输入描述 输入一个数字。 @@ -14,7 +14,7 @@ 153 ## 输出样例 -是 +是/不是 ## 提示 无 diff --git "a/exercises/wumf/\347\256\200\345\215\225/test_cases/1.out" "b/exercises/wumf/\347\256\200\345\215\225/test_cases/1.out" new file mode 100644 index 0000000..09040cb --- /dev/null +++ "b/exercises/wumf/\347\256\200\345\215\225/test_cases/1.out" @@ -0,0 +1 @@ +是 \ No newline at end of file diff --git "a/exercises/wumf/\347\256\200\345\215\225/test_cases/10.out" "b/exercises/wumf/\347\256\200\345\215\225/test_cases/10.out" new file mode 100644 index 0000000..b69f708 --- /dev/null +++ "b/exercises/wumf/\347\256\200\345\215\225/test_cases/10.out" @@ -0,0 +1 @@ +不是 \ No newline at end of file diff --git "a/exercises/wumf/\347\256\200\345\215\225/test_cases/2.out" "b/exercises/wumf/\347\256\200\345\215\225/test_cases/2.out" new file mode 100644 index 0000000..b69f708 --- /dev/null +++ "b/exercises/wumf/\347\256\200\345\215\225/test_cases/2.out" @@ -0,0 +1 @@ +不是 \ No newline at end of file diff --git "a/exercises/wumf/\347\256\200\345\215\225/test_cases/3.out" "b/exercises/wumf/\347\256\200\345\215\225/test_cases/3.out" new file mode 100644 index 0000000..b69f708 --- /dev/null +++ "b/exercises/wumf/\347\256\200\345\215\225/test_cases/3.out" @@ -0,0 +1 @@ +不是 \ No newline at end of file diff --git "a/exercises/wumf/\347\256\200\345\215\225/test_cases/4.out" "b/exercises/wumf/\347\256\200\345\215\225/test_cases/4.out" new file mode 100644 index 0000000..b69f708 --- /dev/null +++ "b/exercises/wumf/\347\256\200\345\215\225/test_cases/4.out" @@ -0,0 +1 @@ +不是 \ No newline at end of file diff --git "a/exercises/wumf/\347\256\200\345\215\225/test_cases/5.out" "b/exercises/wumf/\347\256\200\345\215\225/test_cases/5.out" new file mode 100644 index 0000000..b69f708 --- /dev/null +++ "b/exercises/wumf/\347\256\200\345\215\225/test_cases/5.out" @@ -0,0 +1 @@ +不是 \ No newline at end of file diff --git "a/exercises/wumf/\347\256\200\345\215\225/test_cases/6.out" "b/exercises/wumf/\347\256\200\345\215\225/test_cases/6.out" new file mode 100644 index 0000000..b69f708 --- /dev/null +++ "b/exercises/wumf/\347\256\200\345\215\225/test_cases/6.out" @@ -0,0 +1 @@ +不是 \ No newline at end of file diff --git "a/exercises/wumf/\347\256\200\345\215\225/test_cases/7.out" "b/exercises/wumf/\347\256\200\345\215\225/test_cases/7.out" new file mode 100644 index 0000000..b69f708 --- /dev/null +++ "b/exercises/wumf/\347\256\200\345\215\225/test_cases/7.out" @@ -0,0 +1 @@ +不是 \ No newline at end of file diff --git "a/exercises/wumf/\347\256\200\345\215\225/test_cases/8.out" "b/exercises/wumf/\347\256\200\345\215\225/test_cases/8.out" new file mode 100644 index 0000000..09040cb --- /dev/null +++ "b/exercises/wumf/\347\256\200\345\215\225/test_cases/8.out" @@ -0,0 +1 @@ +是 \ No newline at end of file diff --git "a/exercises/wumf/\347\256\200\345\215\225/test_cases/9.out" "b/exercises/wumf/\347\256\200\345\215\225/test_cases/9.out" new file mode 100644 index 0000000..09040cb --- /dev/null +++ "b/exercises/wumf/\347\256\200\345\215\225/test_cases/9.out" @@ -0,0 +1 @@ +是 \ No newline at end of file -- GitLab