Package net.n1da.dev.euler
Class PE0032
- java.lang.Object
-
- net.n1da.dev.euler.core.Problem
-
- net.n1da.dev.euler.PE0032
-
- All Implemented Interfaces:
Solvable
public class PE0032 extends Problem
Solution for problem 32 "Pandigital products" completed on Sat, 26 Dec 2015, 14:24.- Since:
- 19.12.2015 23:32:23
- Author:
- Nico Danneberg
- See Also:
- Problem @ Project Euler, Solution @ Ni-Da-Net
-
-
Method Detail
-
solve
public java.lang.String solve()
Solves this problem by calculation the product for every x and y in the range from 1 to 9999. All three numbers (x, y, and resulting product) are tested to be apandigital identity
. Finally all found products summed - but only the first occurrence.- Returns:
- the sum of all found products
- See Also:
Mathe.isPandigital(String)
-
-