-->
当前位置:首页 > 题库

PROGRAMMING:Outputs the minimum Fibonacci number of specified digits

Luz5年前 (2021-05-10)题库495
Fibonacci number, also known as Fibonacci sequence, refers to such a sequence: 1, 1, 2, 3, 5, 8, 13, 21,..., which starts from the third term, and each term is equal to the sum of the first two terms. Find the minimum Fibonacci number of the specified number of digits.
###Input format:
Enter an integer n (n > 1).
###Output format:
Output Fibonacci sequence, the smallest n digits.
###Input sample 1:
Here is a set of inputs. For example:
```in
two
```
###Output sample 1:
The corresponding output is given here. For example:
```out
thirteen
```
###Input sample 2:
Here is a set of inputs. For example:
```in
five
```
###Output sample 2:
The corresponding output is given here. For example:
```out
ten thousand nine hundred and forty-six
```






answer:If there is no answer, please comment