Added a benchmark tool

This commit is contained in:
2020-07-08 20:38:37 -04:00
parent a7d960c3b1
commit 766af92f1a
68 changed files with 546 additions and 134 deletions

View File

@@ -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();
}