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:
@@ -38,10 +38,12 @@ private:
|
||||
uint64_t sum; //The sum of all the numbers we are looking for
|
||||
//A function that returns true if num can be created by adding two elements from abund and false if it cannot
|
||||
bool isSum(const std::vector<int>& abund, int num);
|
||||
void reserveVectors();
|
||||
public:
|
||||
Problem23();
|
||||
virtual void solve();
|
||||
virtual std::string getString() const;
|
||||
virtual void reset();
|
||||
//Returns the sum of the numbers asked for
|
||||
uint64_t getSum() const;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user