Added solution to problem 35

This commit is contained in:
2021-06-02 17:23:32 -04:00
parent d2f863d2a6
commit 8e36887d49
6 changed files with 196 additions and 4 deletions

View File

@@ -45,7 +45,7 @@ public:
virtual void solve(); //Solve the problem
virtual void reset(); //Reset the problem so it can be run again
//Gets
virtual std::string getResult(); //Return a string witht he solution to the problem
virtual std::string getResult(); //Return a string with the solution to the problem
std::vector<int> getFactorials(); //Returns the list of factorials from 0-9
int getSum(); //Returns the sum of all numbers equal to the sum of their digit's factorials
};