diff --git a/benchmark.cpp b/benchmark.cpp index 78a1445..ca08e3e 100644 --- a/benchmark.cpp +++ b/benchmark.cpp @@ -76,7 +76,8 @@ void runSpecific(){ //Get the problem Problem* problem = getProblem(problemNumber); //Run the problem the specific number of times - std::cout << "Solving"; + std::cout << problemNumber << ". " << problem->getDescription() + << "\nSolving"; for(unsigned int cnt = 0;cnt < timesToRun;++cnt){ //Reset the data so you are actually counting the run time a second time problem->reset(); @@ -107,7 +108,8 @@ void runAllShort(){ //Get the problem Problem* problem = getProblem(problemNumber); //Run each problem the specified number of times - std::cout << "Solving"; + std::cout << problemNumber << ". " << problem->getDescription() + << "\nSolving"; for(unsigned int cnt = 0;cnt < timesToRun;++cnt){ //Reset the data so you are actually counting the run time a second time problem->reset(); @@ -135,7 +137,8 @@ void runAll(){ //Get the problem Problem* problem = getProblem(problemNumber); //Run each problem the specified number of times - std::cout << "Solving"; + std::cout << problemNumber << ". " << problem->getDescription() + << "\nSolving"; for(unsigned int cnt = 0;cnt < timesToRun;++cnt){ //Reset the data so you are actually counting the run time a second time problem->reset();