当前位置:网站首页>C 竞赛——捕鱼
C 竞赛——捕鱼
2022-08-02 05:08:00 【mazhilin】
#include <stdio.h>void main (){int m,n,F[5],flag;flag =1;n=1;while(flag==1){F[0]=5*n+1;flag=0;for (i=1;i<5;i++){if (F[m-1]%4!=0){flag=1;break;}F[m]=5*F[m-1]/4+1;}n++;}printf ("%d\n",F[4]);}边栏推荐
- Google 安装印象笔记剪藏插件
- 区块元素、内联元素(<div>元素、span元素)
- Go language study notes - grpc serverclient protobuf Go language from scratch
- Go语言中定时任务库Cron使用详解
- Detailed explanation of AMQP protocol
- 复盘:图像饱和度计算公式和图像信噪(PSNR)比计算公式
- mysql 8.0.28版本安装配置方法图文教程
- The original question on the two sides of the automatic test of the byte beating (arranged according to the recording) is real and effective 26
- leetcode 204. Count Primes 计数质数 (Easy)
- "Digital reconstruction of the system, getting the CEO is the first step"
猜你喜欢
随机推荐
JUC(二)原子类:CAS、乐观锁、Unsafe和原子类
本周大新闻|苹果MR已进行Pre-EVT测试,Quest 2涨价100美元
golang泛型
Brush LeetCode topic series - 10. Regular expression match
C语言小游戏——扫雷小游戏
c语言:查漏补缺(三)
自动化运维工具——ansible、概述、安装、模块介绍
LeetCode刷题系列 -- 10. 正则表达式匹配
How much does a test environment cost? Start with cost and efficiency
nacos注册中心
21天学习挑战赛安排
非关系型数据库MongoDB的特点及安装
Detailed explanation of interface in Go language
The Go language learning notes - dealing with timeout - use the language from scratch from Context
JDBC revisited
说好的女程序员做测试有优势?面试十几家,被面试官虐哭~~
C language entry combat (13): decimal number to binary
Browser onload event
Go语言中定时任务库Cron使用详解
网安学习-内网渗透4









