F. 练24.2 for循环求和

    Type: RemoteJudge 1000ms 64MiB

练24.2 for循环求和

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

说明

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

输入格式

输入nn。对于100%的数据,1n1001≤n≤100

输出格式

如题述,之和。

样例

10
55

6.10柳泉基础班练习

Not Attended
Status
Done
Rule
OI
Problem
8
Start at
2026-6-10 16:45
End at
2026-6-10 18:45
Duration
2 hour(s)
Host
Partic.
30