#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#define SIZE 7
void luck(int sourse[],int size,int times);
int main(void)
{
int soid[SIZE];
for(int i=0;i
luck(soid,SIZE,SIZE);
}
void luck(int sourse[],int size,int times)
{
int luck[times];
srand((unsigned int)time(NULL));
for(int i=0;i
luck[i]=rand() % size;
for(int m=0;m {
if(luck[i]==luck[m])
i--;
}
}
for(int i=0;i
}