From dbb45869a264dea3915ebd35e0b0b5a4f3ec2331 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E6=B5=B7?= <10402852@qq.com> Date: Mon, 1 Apr 2024 16:30:28 +0800 Subject: [PATCH] 'commit' --- GESP/[GESP202312 三级] 小猫分鱼 c++.txt | 1 - GESP/小猫分鱼.md | 27 +++++++++++++++++++ 2 files changed, 27 insertions(+), 1 deletion(-) delete mode 100644 GESP/[GESP202312 三级] 小猫分鱼 c++.txt create mode 100644 GESP/小猫分鱼.md diff --git a/GESP/[GESP202312 三级] 小猫分鱼 c++.txt b/GESP/[GESP202312 三级] 小猫分鱼 c++.txt deleted file mode 100644 index 382e1ac..0000000 --- a/GESP/[GESP202312 三级] 小猫分鱼 c++.txt +++ /dev/null @@ -1 +0,0 @@ -https://blog.csdn.net/zhanghexuan2013/article/details/136475503 \ No newline at end of file diff --git a/GESP/小猫分鱼.md b/GESP/小猫分鱼.md new file mode 100644 index 0000000..3eb1454 --- /dev/null +++ b/GESP/小猫分鱼.md @@ -0,0 +1,27 @@ +![](https://dsideal.obs.cn-north-1.myhuaweicloud.com/HuangHai/BlogImages/202404011627855.png) + +```cpp {.line-numbers} +// Created by www.runoob.com on 15/11/9. +// Copyright © 2015年 菜鸟教程. All rights reserved. +// + +#include +#include +int main() +{ + int x,i=0,j=1; + while(i<5){ + x=4*j; + for(i=0;i<5;i++) + { + if(x%4!=0){break;} + x=(x/4)*5+1; + } + j++; + } + printf("%d\n",x); + + return 0; +} + +``` \ No newline at end of file