Problem5114--求和35114: 求和3
Time Limit: 1.000 Sec Memory Limit: 128 MB
Submit: 499 Solved: 313
[Submit] [Status] [Web Board] [Creator:]Description
输入一个数n,求s=1+2+3+4+…+n。
输出s
Input
输入n
Output
所求的和。
Sample Input
3
Sample Output
6
Source/Category
[Submit] [Status]