A. 求正整数2和n之间的完全数

    Type: Default 1000ms 256MiB

求正整数2和n之间的完全数

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

说明

求正整数2和n(n<=1000)之间的完全数(一行一个数)。

完全数:因子之和等于它本身的自然数,如6=1+2+3

输入格式

输入n。

输出格式

每行一个数,按由小到大的顺序。

样例

7
6

scp-j模拟赛2023.7

Not Attended
Status
Done
Rule
OI
Problem
4
Start at
2023-9-5 22:30
End at
2023-9-7 4:30
Duration
3 hour(s)
Host
Partic.
5