1824: 【例4.1】for循环求和

Memory Limit:64 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:2 Solved:1

Description

利用for循环。计算输出$1+2+3+...+n$的和。

Input

输入$n$。

Output

如题述,之和。

Sample Input Copy

10

Sample Output Copy

55

Source/Category