#E. C++-函数-使用递归函数生成一个给定的数的斐波那契数列

    Type: Default 1000ms 256MiB

C++-函数-使用递归函数生成一个给定的数的斐波那契数列

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

Background

Description

C++-函数-使用递归函数生成一个给定的数n的斐波那契数列,按行打印0~n的数列,初始化0的斐波那契数为0,1的斐波那契数为1。 image

Format

Input

Output

Samples

10
0
1
1
2
3
5
8
13
21
34
55

Limitation

1s, 1024KiB for each test case.

C++基础知识05(函数)

Not Attended
Status
Done
Rule
ACM/ICPC
Problem
9
Start at
2024-5-5 17:00
End at
2024-5-27 9:00
Duration
520 hour(s)
Host
Partic.
14