会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Loading
ZHGQCN
管理
2020年1月13日
算法笔记--简单模拟
摘要: 【PAT B1001】害死人不偿命的3n+1猜想 #include<stdio.h> int main(){ int step = 0; int n; printf("输入n的值:\t"); scanf("%d", &n); while(n != 1){ if(n % 2 == 0){ n = n
阅读全文
posted @ 2020-01-13 16:33 ZHGQCN
阅读(217)
评论(0)
推荐(0)
公告