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

PROGRAMMING:Top 20 items of 0,0,1 sequence

Luz5年前 (2021-05-10)题库515
The first three numbers of a sequence are 0, 0 and 1, and each subsequent number is the sum of the first three numbers. Program to change the first 20 items of the sequence, and output them in the format of 4 numbers in each row.
###Output format:
Each row outputs 4 numbers, and each number takes up 10 columns.
###Output example:
```out
0 0 1 1
2 4 7 13
24 44 81 149
274 504 927 1705
3136 5768 10609 19513
```






answer:If there is no answer, please comment