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 Problem10::GOAL_NUMBER = 2000000;
Problem10::Problem10() : Problem("Find the sum of all the primes below two million"), sum(0){
}
void Problem10::solve(){
@@ -72,3 +71,8 @@ uint64_t Problem10::getSum() const{
}
return sum;
}
void Problem10::reset(){
Problem::reset();
sum = 0;
}