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

@@ -35,7 +35,6 @@ int Problem4::START_NUM = 100;
int Problem4::END_NUM = 999;
Problem4::Problem4() : Problem("Find the largest palindrome made from the product of two 3-digit numbers."){
}
void Problem4::solve(){
@@ -102,3 +101,8 @@ uint64_t Problem4::getLargestPalindrome() const{
}
return *(palindromes.end() - 1);
}
void Problem4::reset(){
Problem::reset();
palindromes.clear();
}