Package net.n1da.dev.euler
Class PE0033
- java.lang.Object
-
- net.n1da.dev.euler.core.Problem
-
- net.n1da.dev.euler.PE0033
-
- All Implemented Interfaces:
Solvable
public class PE0033 extends Problem
Solution for problem 33 "Digit cancelling fractions" completed on Fri, 1 Jan 2016, 15:20.- Since:
- 26.12.2015 13:56:38
- Author:
- Nico Danneberg
- See Also:
- Problem @ Project Euler, Solution @ Ni-Da-Net
-
-
Method Summary
Modifier and Type Method Description java.lang.String
solve()
Here the problem is solved by run two nested loops to test all fractions n/d with 10 < n < 100 and n < d < 100 if the wanted conditions match.
-
-
-
Method Detail
-
solve
public java.lang.String solve()
Here the problem is solved by run two nested loops to test all fractions n/d with 10 < n < 100 and n < d < 100 if the wanted conditions match.- Returns:
- the canceled product of all found fractions
- See Also:
Mathe.getGCD(int, int)
-
-