Your task is to find the sum of all integer numbers lying between 1 and N inclusive.
1009: sum of all integer numbers
时间限制: 1 Sec 内存限制: 64 MB提交: 2 解决: 2
[上一题][提交][讨论版][状态][下一题]
题目描述
输入 [sumofallin.in]
There are multiple test cases.
The input consists of a single integer N that is not greater than 10000 by it's absolute value.
输出 [sumofallin.out]
Write a single integer number that is the sum of all integer numbers lying between 1 and N inclusive.
样例输入
3
样例输出
6
提示
标签
All Copyright Reserved 2010-2014 Olympiad in Informatics TEAM