#include <stdio.h>
#include <time.h>
#include <stdlib.h>

#define N 52

void swap(int* a,int* b)
{
	int tmp;
	tmp=*a;
	*a=*b;
	*b=tmp;
}

int main()
{
	srand((unsigned)time(NULL));
	int poker[N];
	int i;
	int rnd;
	for(i=0;i<N;i++) poker[i]=i+1;
	for(i=1;i<N;i++)
	{
		rnd = rand() % (i+1);
		swap(&poker[i],&poker[rnd]);
	}
	return 0;
}