Package net.n1da.dev.euler
Class PE0020
- java.lang.Object
-
- net.n1da.dev.euler.core.Problem
-
- net.n1da.dev.euler.PE0020
-
- All Implemented Interfaces:
Solvable
public class PE0020 extends Problem
Solution for problem 20 "Factorial digit sum" completed on Sun, 24 May 2015, 05:55.- Since:
- 23.05.2015 23:14:09
- Author:
- Nico Danneberg
- See Also:
- Problem @ Project Euler, Solution @ Ni-Da-Net
-
-
Method Summary
Modifier and Type Method Description java.lang.String
solve()
Runs two nested loops to calculate the factorial as sum oflarge numbers
.
-
-
-
Method Detail
-
solve
public java.lang.String solve()
Runs two nested loops to calculate the factorial as sum oflarge numbers
.- Returns:
- the sum of digits of the wanted factorial
- See Also:
LargeNumber.sumOfDigits()
-
-