mirror of
https://bitbucket.org/Mattrixwv/projecteulercpp.git
synced 2025-12-07 01:23:57 -05:00
Updated various typoes and removed some unneeded code
This commit is contained in:
@@ -31,6 +31,7 @@
|
||||
#include "../Headers/Problem10.hpp"
|
||||
|
||||
|
||||
//The largest number to check for primes
|
||||
uint64_t Problem10::GOAL_NUMBER = 2000000 - 1; //2,000,000 - 1 because is needs to be < instead of <=
|
||||
|
||||
//Constructor
|
||||
@@ -56,7 +57,7 @@ void Problem10::solve(){
|
||||
solved = true;
|
||||
}
|
||||
|
||||
//Reset the rpoblem so it can be run agian
|
||||
//Reset the problem so it can be run again
|
||||
void Problem10::reset(){
|
||||
Problem::reset();
|
||||
sum = 0;
|
||||
|
||||
Reference in New Issue
Block a user