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,7 +34,6 @@
uint64_t Problem1::MAX_NUMBER = 1000;
Problem1::Problem1() : Problem("What is the sum of all the multiples of 3 or 5 that are less than 1000?"), fullSum(0){
}
void Problem1::solve(){
@@ -84,3 +83,9 @@ uint64_t Problem1::getSum() const{
}
return fullSum;
}
void Problem1::reset(){
Problem::reset();
fullSum = 0;
numbers.clear();
}