for (int i = 1; i <= 6; i++) printf(" %d", rand() % 45 + 1);
여기서 어떻게해야 중복되는 숫자가 사라지나요?
stl 의 shuffle 이랑 random 찾아봐
stl 의 shuffle 이랑 random 찾아봐