Added solution to problem 36

This commit is contained in:
2021-06-29 12:03:49 -04:00
parent 240b7b6271
commit ebdb92dc2f
6 changed files with 171 additions and 3 deletions

View File

@@ -47,7 +47,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(); //Returns a string with the solutino to the problem
virtual std::string getResult(); //Returns a string with the solution to the problem
std::vector<int> getPrimes(); //Returns the vector of primes < MAX_NUM
std::vector<int> getCircularPrimes(); //Returns the vector of circular primes < MAX_NUM
int getNumCircularPrimes(); //Returns the number of circular primes