#include
#include
#include
using namespace std;
void show(const char *msg, vector vect);
int main(){
vector v;
for(int i=0; i<10; i++)
v.push_back(i);
show("Original order: ", v);
random_shuffle(v.begin(), v.end());
show("After shuffle: ", v);
return 0;
}
void show(const char *msg, vector vect) {
cout << msg << endl;
for(unsigned i=0; i < vect.size(); ++i)
cout << vect[i] << endl;
}