可丁猫
Home
ProblemSet
Source/Category
Contest
Status
Ranklist
F.A.Qs
Login
1226: 求1+2+3+......+n和(07级)wk
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:50
Solved:26
Submit
Submit Record
Statistics
ShowOff!
Description
求1+2+3+......+n和。
Input
一个整数n(n<100000)
Output
一个整数
Sample Input
Copy
100
Sample Output
Copy
5050
HINT
飞翔编程知识库系统的微课讲解
for循环法
while循环法
Source/Category
for循环
while循环
Submit
Submit Record
Statistics
ShowOff!