单点时限: 2.0 sec
内存限制: 512 MB
Write a program to input an integer n, and to output sum of 1,2,…,n.
input an integer n.
output sum of 1,2,…,n.
10
55
1
1000
500500