有一数列如下: 1 2 4 7 11 16 22…… 试求该数列前N项之和。
一个整数N( 0 < N < 1000 )。
一个整数。
6
41
By signing up a 追梦算法网 universal account, you can submit code and join discussions in all online judging services provided by us.
Using your 追梦算法网 universal account