Made all programs similar

This commit is contained in:
2021-07-03 22:34:10 -04:00
parent d01251ed02
commit a0ae323876

View File

@@ -165,8 +165,8 @@ namespace ProjectEulerCS.Problems{
//Constructor
public Problem13() : base("Work out the first ten digits of the sum of the one-hundred 50-digit numbers"){
nums = new List<BigInteger>(100);
ReserveVectors();
sum = 0;
ReserveVectors();
}
//Reserve the size of the vector to speed up insertion
private void ReserveVectors(){