Type: Default 1000ms 256MiB

求1+2+3.+...

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.

Description

用递归的方法求$1+2+3+……+N$的值。

Input Format

输入$N$。

Output Format

输出和。

5

15

无基础班训练01

Not Attended
Status
Done
Rule
XCPC
Problem
8
Start at
2024-11-17 13:00
End at
2024-11-24 5:00
Duration
160 hour(s)
Host
Partic.
37