Problem1311--求数列的前n项和1311: 求数列的前n项和
Time Limit: 1 Sec Memory Limit: 128 MB
Submit: 279 Solved: 200
[Submit] [Status] [Web Board] [Creator:]Description
求数列的前
n项和
函数功能是:计算数列的每一项,
n由键盘输入。累加过程和输入输出均在主函数中完成
Input
3
Output
123
Sample Input
3
Sample Output
123
Source/Category
[Submit] [Status]