void random(char s[])
{
int index,i;
char temp[N];
srand(time(NULL));
for (i = 0; i<54; i++)
index = rand() % (54- i) + i;
if (index != i)
strcpy(temp,s[i]);
strcpy(s[i],s[index]);
strcpy(s[index],temp);
}
onemoo
相关分类