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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user