100 #P00507. 累加和
累加和
Description
编程求1+2+3......+n
Format
Input
输入一行,只有一个整数n (1<=n<=10000)
Output
如题
Samples
100
5050
Limitation
1s, 1024KiB for each test case.
编程求1+2+3......+n
输入一行,只有一个整数n (1<=n<=10000)
如题
100
5050
1s, 1024KiB for each test case.