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:
@@ -32,7 +32,6 @@
|
||||
|
||||
|
||||
Problem5::Problem5() : Problem("What is the smallest positive number that is evenly divisible by all of the numbers from 1 to 20?"), smallestNum(0){
|
||||
|
||||
}
|
||||
|
||||
void Problem5::solve(){
|
||||
@@ -92,3 +91,8 @@ int Problem5::getNumber() const{
|
||||
}
|
||||
return smallestNum;
|
||||
}
|
||||
|
||||
void Problem5::reset(){
|
||||
Problem::reset();
|
||||
smallestNum = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user