Problem2516--枚举一个整数的所有约数

2516: 枚举一个整数的所有约数

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MB

Description

读入一个整数N,请打印出该整数的所有约数(N的约数是指能整除N的数字)打印时,每一个约数占一行,例如:
输入:100
输出:
1
2
4
5
10
20
25
50
100

Sample Input Copy

9

Sample Output Copy

1
3
9

Source/Category