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:
@@ -36,10 +36,12 @@ private:
|
||||
std::vector<uint64_t> sums; //Holds the score based on the sum of the characters in the name
|
||||
std::vector<uint64_t> prod; //Holds the score based on the sum of the characters and the location in alphabetical order
|
||||
static std::vector<std::string> names; //Holds the names that will be scored
|
||||
void reserveVectors();
|
||||
public:
|
||||
Problem22();
|
||||
virtual void solve();
|
||||
virtual std::string getString() const;
|
||||
virtual void reset();
|
||||
//Returns the vector of the names being scored
|
||||
std::vector<std::string> getNames() const;
|
||||
//Returns the sum of the names scores
|
||||
|
||||
Reference in New Issue
Block a user