#SDNU1447. 序列求和
序列求和
Description
问题描述 求的值。
Format
Input
输入包括一个整数。
Output
输出一行,包括一个整数,表示的值。
Samples
4
10
100
5050
问题描述 求1+2+3+...+n的值。
输入包括一个整数n。(1≤n≤1,000,000,000。)
输出一行,包括一个整数,表示1+2+3+...+n的值。
4
10
100
5050
By signing up a GENESIS universal account, you can submit code and join discussions in all online judging services provided by us.