mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-07 09:45:04 +08:00
@ -7,9 +7,8 @@ import java.util.Set;
|
||||
|
||||
public class HappyNumbersSeq {
|
||||
|
||||
private static final Set<Integer> CYCLE_NUMS = new HashSet<>(
|
||||
Arrays.asList(4, 16, 20, 37, 58, 145)
|
||||
);
|
||||
private static final Set<Integer> CYCLE_NUMS
|
||||
= new HashSet<>(Arrays.asList(4, 16, 20, 37, 58, 145));
|
||||
|
||||
public static void main(String[] args) {
|
||||
Scanner in = new Scanner(System.in);
|
||||
|
Reference in New Issue
Block a user