@@ -0,0 +1,879 @@
+import java.math.BigInteger;%0Aimport java.util.Arrays;%0Aimport java.util.Comparator;%0Aimport java.util.stream.Collectors;%0Aimport java.util.stream.IntStream;%0A%0A@SuppressWarnings(%22unused%22)%0Apublic class P062 implements Puzzle %7B%0A    @Override%0A    public String solve() %7B%0A%0A        final BigInteger collect = IntStream.range(1, 10000)%0A                .boxed()%0A                .map(i -%3E BigInteger.valueOf(i).pow(3))%0A                .collect(Collectors.groupingBy(i -%3E %7B%0A                    char%5B%5D c = i.toString().toCharArray();%0A                    Arrays.sort(c);%0A                    return new String(c);%0A                %7D))%0A                .entrySet().stream()%0A                .filter(e -%3E e.getValue().size() == 5)%0A                .flatMap(e -%3E e.getValue().stream())%0A                .min(Comparator.naturalOrder())%0A                .orElse(null);%0A%0A%0A        return %22%22 + collect;%0A    %7D%0A%7D

add 62