Skip to content

Commit 91256fd

Browse files
refactor 507
1 parent 30b8b91 commit 91256fd

File tree

1 file changed

+0
-13
lines changed
  • src/main/java/com/fishercoder/solutions

1 file changed

+0
-13
lines changed

src/main/java/com/fishercoder/solutions/_507.java

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,5 @@
11
package com.fishercoder.solutions;
22

3-
/**
4-
* 507. Perfect Number
5-
*
6-
* We define the Perfect Number is a positive integer that is equal to the sum of all its positive divisors except itself.
7-
* Now, given an integer n, write a function that returns true when it is a perfect number and false when it is not.
8-
9-
Example:
10-
Input: 28
11-
Output: True
12-
Explanation: 28 = 1 + 2 + 4 + 7 + 14
13-
14-
Note: The input number n will not exceed 100,000,000. (1e8)
15-
*/
163
public class _507 {
174

185
public static class Solution1 {

0 commit comments

Comments
 (0)