mirror of
https://bitbucket.org/Mattrixwv/projecteulercpp.git
synced 2025-12-07 01:23:57 -05:00
Updated algorithms
This commit is contained in:
@@ -40,6 +40,7 @@ private:
|
||||
static uint64_t POWER_RAISED; //This is the power that the digits are raised to
|
||||
//Instance variables
|
||||
std::vector<uint64_t> sumOfFifthNumbers; //This is a vector of the numbers that are the sum of the fifth power of their digits
|
||||
uint64_t sum; //This is the sum of the sumOfFifthNumbers vector
|
||||
|
||||
//Functions
|
||||
std::vector<uint64_t> getDigits(uint64_t num); //Returns a vector with the indivitual digits of the number passed into it
|
||||
|
||||
Reference in New Issue
Block a user