mirror of
https://bitbucket.org/Mattrixwv/projecteulerjava.git
synced 2025-12-06 17:13:58 -05:00
Fixed bug that caused a null pointer exception
This commit is contained in:
@@ -141,6 +141,7 @@ public class Problem13 extends Problem{
|
|||||||
//Constructor
|
//Constructor
|
||||||
public Problem13(){
|
public Problem13(){
|
||||||
super("Work out the first ten digits of the sum of the one-hundred 50-digit numbers");
|
super("Work out the first ten digits of the sum of the one-hundred 50-digit numbers");
|
||||||
|
nums = new ArrayList<BigInteger>();
|
||||||
reserveVectors();
|
reserveVectors();
|
||||||
sum = BigInteger.ZERO;
|
sum = BigInteger.ZERO;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user