mirror of
https://bitbucket.org/Mattrixwv/projecteulercpp.git
synced 2025-12-07 01:23:57 -05:00
Added a benchmark tool
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user