2797: 练24.2 for循环求和
Memory Limit:64 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:59
Solved:51
Description
利用for循环。计算输出$1+2+3+...+n$的和。
Input
输入$n$。对于100%的数据,$1≤n≤100$。
Output
如题述,之和。
Sample Input Copy
10
Sample Output Copy
55