练习专区

今天的一小步就是明天的一大步
Problem 1002 算一算
Accepted: 23   Total Submit: 31
Time Limit: 1000ms   Memory Limit: 30720KB
Description
输入一个整数N,请你计算1+2+…+N。
Input
一个整数N。
Output
1+2+…+N的值。
Sample Input
100
Sample Output
5050
Hint
提交     返回