Output a blank line after each set.
cout << "Set #" << num << endl;cout << "The minimum number of moves is " << bu << "." << endl;cout << endl; // Add this line