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:
@@ -54,7 +54,6 @@ uint64_t Problem14::checkSeries(uint64_t num){
|
||||
}
|
||||
|
||||
Problem14::Problem14() : Problem("Which starting number, under one million, produces the longest chain using the itterative sequence?"), maxLength(0), maxNum(0){
|
||||
|
||||
}
|
||||
|
||||
void Problem14::solve(){
|
||||
@@ -109,3 +108,9 @@ uint64_t Problem14::getStartingNumber() const{
|
||||
}
|
||||
return maxNum;
|
||||
}
|
||||
|
||||
void Problem14::reset(){
|
||||
Problem::reset();
|
||||
maxLength = 0;
|
||||
maxNum = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user