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:
@@ -140,13 +140,15 @@
|
||||
class Problem13 : public Problem{
|
||||
private:
|
||||
//A vector to hold all of the numbers
|
||||
static std::vector<mpz_class> nums;
|
||||
std::vector<mpz_class> nums;
|
||||
mpz_class sum;
|
||||
void setNums();
|
||||
void reserveVectors();
|
||||
public:
|
||||
Problem13();
|
||||
virtual void solve();
|
||||
virtual std::string getString() const;
|
||||
virtual void reset();
|
||||
//Returns the list 50-digit numbers
|
||||
std::vector<mpz_class> getNumbers() const;
|
||||
//Returns the sum of the 50-digit numbers
|
||||
|
||||
Reference in New Issue
Block a user