Files
python/GESP/资料/小猫分鱼.md

27 lines
518 B
Markdown
Raw Normal View History

2025-08-30 18:35:01 +08:00
![](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<stdio.h>
#include<stdlib.h>
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;
}
```