2280: 【入门】数列求和
Memory Limit:16 MB
Time Limit:1.000 S
Submit数:5
Solved数:5
Description
有一数列如下: 1 2 4 7 11 16 22…… 试求该数列前N项之和。
Input描述
一个整数N( 0 < N < 1000 )。
Output描述
一个整数。
Sample Input Copy
6
Sample Output Copy
41
Source/Category
⋮