搜索资源列表
tortoise-and-hare-race
- 龟兔赛跑,显示每个时刻乌龟和兔子的位置,以及谁先到达终点。-tortoise and hare race
rabbit-number-and-sushudayin
- 1.古典问题:有一对兔子,从出生后第3个月起每个月都生一对兔子,小兔子长到第四个月后每个月又生一对兔子,假如兔子都不死,问每个月的兔子总数为多少? 2.素数打印 3.水仙花数-A classical problem: a pair of rabbits, from the first three months after birth are born every month a pair of rabbits, bunnies grow up to four months after the f
XIAOTUZIJIANJINBI
- JAVA经典算法编程之小兔子捡金币 在一个游戏中,小兔子可以捡金币。它会一边走一边捡掉经过的金币。当小兔子发现前方没有金币的时候,会自动右转。直到所有金币都被捡走。现在把一个NХN的方型区域内,每一格都摆方好了金币。假设小兔子从左上方第一格开始,往右边走。-JAVA programming of classic algorithms picking gold bunny in a game, you can pick up gold bunny. It walked out after pi
Rabbit
- 用java编程实现该题:有一对兔子,从出生后第3个月起每个月都生一对兔子小兔子长到第三个月后每个月又生一对兔子,假如兔子都不死,问n个月后的兔子总数为多少?-The problem with java programming: a pair of rabbits, from the first three months after the birth of every month from birth to a little bunny rabbit to the first three mon
1
- 有一对兔子,从出生后第3个月起每个月都生一对兔子,小兔子长到第三个月后每个月又生一对兔子,假如兔子都不死,问每个月的兔子总数为多少?-There is a pair of rabbits, from third months after the birth of every month for a rabbit, the rabbit grow up to third months after each month and a pair of rabbits, if the rabbit wil
java40demos
- 一些学习Java的资料,Java初学者经典四十题及源代码,【程序1】 题目:古典问题:有一对兔子,从出生后第3个月起每个月都生一对兔子,小兔子长到第四个月后每个月又生一对兔子,假如兔子都不死,问每个月的兔子总数为多少? 1.程序分析: 兔子的规律为数列1,1,2,3,5,8,13,21.... -Some information on learning Java, Java beginners forty classic title and source code, [1] Progr
GT
- 龟兔赛跑: 普通格,共100格 龟:每次随机移动1至3格 兔子:每次随机移动1至6格 每20格会随机出现以下功能格各一次(不会在同一格内出现两种或两种以上功能) 功能格:(**和^^可以连续执行,@@和==不能连续执行) **幸运星格:选手可再行动一次 @@地雷格:兔子回到上数两个地雷格,龟回到上一地雷格(若后方无地雷格则回到起点) ==传送格:兔子到达下一传送格,龟到达下数两个传送格(若前方无传送格则到达终点) ||树格:兔子停止三
foxnrabbit
- 这是一个类似于细胞自动机的java程序,演示了一个生态环境中狐狸和兔子的分布,其中耦合度较低,且利用了接口,数据和显示分离,可塑性强。- This is a similar cellular automata java program that demonstrates the distribution of an ecological environment foxes and rabbits, which coupling is low, and the use of the inter