Toggle navigation
万里ACM
F.A.Qs
Web Board
ProblemSet
Source/Category
Status
Ranklist
Contest
[
ProblemSet
Status
Ranklist
OI Ranklist
Statistics
]
Login
Problem K: 输出正整数N的因子
Problem K: 输出正整数N的因子
Time Limit:
1 Sec
Memory Limit:
128 MB
Submit:
443
Solved:
272
[
Submit
] [
Status
] [
Web Board
] [Creator:
]
Description
输入正整数N(N≤10000),输出N的因子(约数)。输出的每个数值之前有一个空格。
Input
Sample Input
Copy
1 6 16
Sample Output
Copy
1 1 2 3 6 1 2 4 8 16