#10750. 求1+2+3.+...
求1+2+3.+...
Description
用递归的方法求$1+2+3+……+N$的值。
Input Format
输入$N$。
Output Format
输出和。
5
15
Related
In following contests:
用递归的方法求$1+2+3+……+N$的值。
输入$N$。
输出和。
5
15
In following contests:
By signing up a 算道OJ universal account, you can submit code and join discussions in all online judging services provided by us.