课例题 - 自然数之和
No testdata at current.
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.
题目描述
输入n,输出1+2+3+...+n的值。
输入输出说明
输入说明
输入正整数n。
输出说明
输出1+2+3+...+n的值。
题目样例
样例输入
100
样例输出
5050
数据范围
- 对于30%数据满足,
- 对于100%数据满足,
P2阶段测试
- Status
- Done
- Rule
- XCPC
- Problem
- 9
- Start at
- 2025-1-24 14:00
- End at
- 2025-1-24 17:00
- Duration
- 3 hour(s)
- Host
- Partic.
- 13