[CODE]#include "stdio.h"
#include "time.h"
#include "stdlib.h"
int main()
{
int a[10],b[4],i,tmp;
srand(time(NULL));
for(i=0;i<10;a[i]=i,i++);
for(i=0;i<4;i++)
{
b[i]=rand()%(10-i);
tmp=a[9-i],a[9-i]=a[b[i]],a[b[i]]=tmp;
}
printf("%d%d%d%d",a[9],a[8],a[7],a[6]);
return 0;
}[/CODE]