Toggle navigation
HUSTOJ
F.A.Qs
Web Board
ProblemSet
Source/Category
Status
Ranklist
Contest
Recent
Login
Problem1095--循环小练习:输出从0开始的n个偶数
1095: 循环小练习:输出从0开始的n个偶数
Time Limit:
1 Sec
Memory Limit:
128 MB
Submit:
136
Solved:
92
[
Submit
] [
Status
] [
Web Board
] [Creator:
]
Description
输入正整数n,输出从0开始的n个偶数
例如:
n=1,输出0
n=2,输出 0 2
n=5,输出0 2 4 6 8
Sample Input
6
Sample Output
0 2 4 6 8 10
Source/Category