random_shuffle

	vector<int> ind(100);
	for (size_t i = 0; i < 100; i++)
		ind[i] = i;
 
 
	random_shuffle(ind.begin(), ind.end());

你可能感兴趣的:(random_shuffle)