問(wèn)答題古典問(wèn)題:有一對(duì)兔子,從出生后第3個(gè)月起每個(gè)月都生一對(duì)兔子,小兔子長(zhǎng)到第三個(gè)月后每個(gè)月又生一對(duì)兔子,假如兔子都不死,問(wèn)每個(gè)月的兔子總數(shù)為多少?程序分析:兔子的規(guī)律為數(shù)列1,1,2,3,5,8,13,21....

您可能感興趣的試卷