Home
Problem Set
Training
Contest
Homework
Discussion
Record
Ranking
Login
Language
English
한국어
简体中文
正體中文
#A1355. 【例】求1+2+3+...
ID: 935
Type: Default
1000ms
256MiB
Tried: 45
Accepted: 31
Difficulty: 1
Uploaded By:
jike1994
【例】求1+2+3+...
题目描述
用递归的方法求
1
+
2
+
3
+
…
…
+
N
1+2+3+……+N
1
+
2
+
3
+
……
+
N
的值。
输入
输入
N
N
N
。
输出
输出和。
样例
5
15
Login to Submit
Discussions (0)
Solutions (1)
Files
Statistics
CLOSE
SIGN IN
Using your lizikid universal account
Username
Password
Remember me
Forgot password or username?