- 博客(2)
- 问答 (1)
- 收藏
- 关注
原创 C语言用递归函数画雪花
运行环境visual studio 2013 用到了easys图形库 //画雪花; #include<stdio.h> #include<stdlib.h> #include<easyx.h> #include<Windows.h> void drawsnow(int x,int y,float w,int depth,int step) { ...
2020-01-08 19:21:33
1945
原创 递归函数求奶牛数量
有一种奶牛,4年生一只,以后每年生一只。现有一只刚出生的奶牛,问20年后有多少奶牛 思路: 年 奶牛数量 0 1 1 1 2 1 3 1 4 2 5 3 6 4 7 5 8 7 9 10 10 14 11 19 12 26 … … 寻找规律发现:当年数量是一年前的数量加上四年前的数量, 即: 0,1
2020-01-08 18:58:24
632
空空如也
OS系统下载Python3.10.0后,IDLE无法保存文件
2021-11-09
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅