#1457. C++-循环while-输入一个任意正整数m,求其因数并打印
C++-循环while-输入一个任意正整数m,求其因数并打印
Background
Description
C++-循环while-输入一个任意正整数m,求其因数并打印
Format
Input
Output
Samples
18
1 2 3 6 9 18
56
1 2 4 7 8 14 28 56
1000
1 2 4 5 8 10 20 25 40 50 100 125 200 250 500 1000
Limitation
1s, 1024KiB for each test case.