From c0d410357d57977081eec9ce6a2e7cba105db72e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=99=93=E5=A9=B7?= <7800483+aviva-liu@user.noreply.gitee.com> Date: Thu, 6 Jun 2024 03:51:03 +0000 Subject: [PATCH] 5 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 刘晓婷 <7800483+aviva-liu@user.noreply.gitee.com> --- exercises/01_helloworld.c | 3 +-- exercises/02_loop.c | 3 +-- exercises/03_nested_loops.c | 3 +-- exercises/04_prime_number.c | 3 +-- exercises/05_josephus_ring.c | 3 +-- 5 files changed, 5 insertions(+), 10 deletions(-) diff --git a/exercises/01_helloworld.c b/exercises/01_helloworld.c index 9efaf8e..7526207 100644 --- a/exercises/01_helloworld.c +++ b/exercises/01_helloworld.c @@ -6,6 +6,5 @@ int main(){ printf("Hello World!\n"); return 0; - - + } diff --git a/exercises/02_loop.c b/exercises/02_loop.c index 71786ce..c736ef8 100644 --- a/exercises/02_loop.c +++ b/exercises/02_loop.c @@ -13,6 +13,5 @@ int main(void) printf("%d\n", i); } return 0; - - + } \ No newline at end of file diff --git a/exercises/03_nested_loops.c b/exercises/03_nested_loops.c index f5e9b35..021aad9 100644 --- a/exercises/03_nested_loops.c +++ b/exercises/03_nested_loops.c @@ -23,8 +23,7 @@ int main(void) } // 每行结束后打印一个换行符 printf("\n"); - } - + } return 0; } \ No newline at end of file diff --git a/exercises/04_prime_number.c b/exercises/04_prime_number.c index bc6692f..1a63d88 100644 --- a/exercises/04_prime_number.c +++ b/exercises/04_prime_number.c @@ -28,7 +28,6 @@ int main(void) printf("max = %d\n", max); // 打印最大素数 - return 0; - + return 0; } \ No newline at end of file diff --git a/exercises/05_josephus_ring.c b/exercises/05_josephus_ring.c index 9e24f29..3d25925 100644 --- a/exercises/05_josephus_ring.c +++ b/exercises/05_josephus_ring.c @@ -50,6 +50,5 @@ int main(void) { } return 0; - - + } \ No newline at end of file -- Gitee