0507. Perfect Number
Description
**Input:** num = 28
**Output:** true
**Explanation:** 28 = 1 + 2 + 4 + 7 + 14
1, 2, 4, 7, and 14 are all divisors of 28.**Input:** num = 6
**Output:** true**Input:** num = 496
**Output:** true**Input:** num = 8128
**Output:** trueac
Last updated