mirror of
https://bitbucket.org/Mattrixwv/projecteulercpp.git
synced 2025-12-06 17:13:59 -05:00
Added a benchmark tool
This commit is contained in:
@@ -34,8 +34,7 @@
|
||||
|
||||
uint64_t Problem3::GOAL_NUMBER = 600851475143;
|
||||
|
||||
Problem3::Problem3() : Problem("What is the largest prime factor of 600851475143?"){
|
||||
|
||||
Problem3::Problem3() : Problem("What is the largest prime factor of 600851475143?"){
|
||||
}
|
||||
|
||||
void Problem3::solve(){
|
||||
@@ -90,3 +89,8 @@ uint64_t Problem3::getGoalNumber() const{
|
||||
}
|
||||
return GOAL_NUMBER;
|
||||
}
|
||||
|
||||
void Problem3::reset(){
|
||||
Problem::reset();
|
||||
factors.clear();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user