1350: C二级辅导-等差数列
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:4
Solved:4
Description
sum=2+5+8+11+14+…,输入正整数n,求sum的前n项和。
Sample Input Copy
2
Sample Output Copy
7