mirror of
https://bitbucket.org/Mattrixwv/projecteulercpp.git
synced 2025-12-06 17:13:59 -05:00
Added descriptions to problems that didn't have any
This commit is contained in:
@@ -30,6 +30,10 @@
|
||||
#include "../Headers/Problem30.hpp"
|
||||
|
||||
|
||||
Problem30::Problem30() : Problem("Find the sum of all the numbers that can be written as a sum of the fifth powers of their digits"){
|
||||
|
||||
}
|
||||
|
||||
//Returns a vector with the indivitual digits of the number passed into it
|
||||
std::vector<uint64_t> Problem30::getDigits(uint64_t num){
|
||||
std::vector<uint64_t> listOfDigits; //This vector holds the individual digits of num
|
||||
@@ -43,10 +47,6 @@ std::vector<uint64_t> Problem30::getDigits(uint64_t num){
|
||||
return listOfDigits;
|
||||
}
|
||||
|
||||
Problem30::Problem30(){
|
||||
|
||||
}
|
||||
|
||||
void Problem30::solve(){
|
||||
//If the problem has already been solved do nothing and end the function
|
||||
if(solved){
|
||||
|
||||
Reference in New Issue
Block a user