mirror of
https://bitbucket.org/Mattrixwv/projecteulercpp.git
synced 2025-12-06 17:13:59 -05:00
Fixed typos
This commit is contained in:
@@ -39,7 +39,7 @@ private:
|
||||
std::vector<int> primes; //The primes below MAX_NUM
|
||||
std::vector<int> circularPrimes; //The circular primes below MAX_NUM
|
||||
//Functions
|
||||
std::vector<std::string> getRotations(std::string str); //This function returns a list of all rotations of a string passed to it
|
||||
std::vector<std::string> getRotations(std::string str); //Returns a list of all rotations of a string passed to it
|
||||
public:
|
||||
//Constructor
|
||||
Problem35();
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
int Problem35::MAX_NUM = 999999;
|
||||
|
||||
//Function
|
||||
//This function returns a list of all rotations of a string passed to it
|
||||
//Returns a list of all rotations of a string passed to it
|
||||
std::vector<std::string> Problem35::getRotations(std::string str){
|
||||
std::vector<std::string> rotations;
|
||||
rotations.push_back(str);
|
||||
@@ -93,7 +93,7 @@ void Problem35::reset(){
|
||||
circularPrimes.clear();
|
||||
}
|
||||
//Gets
|
||||
//Returns a string with the solutino to the problem
|
||||
//Returns a string with the solution to the problem
|
||||
std::string Problem35::getResult(){
|
||||
//If the problem hasn't been solved throw an exception
|
||||
if(!solved){
|
||||
|
||||
Reference in New Issue
Block a user