递归
摘要:有一对兔子,从出生后第3个月起每个月都生一对兔子,小兔子长到第三个月后每个月又生一对兔子,假如兔子都不死,问每个月的兔子总数为多少 兔子的规律为数列1,1,2,3,5,8,13,21.... 单位是对 public static void main(String[] args) { //getCon
阅读全文
posted @ 2019-01-15 16:29
posted @ 2019-01-15 16:29
Powered by:
博客园
Copyright © 2025 sunshineicy
Powered by .NET 9.0 on Kubernetes