로그인
Sign in
#include <stdio.h>
#include <stdlib.h>
#include <time.h>

main()
{
int a[25],i,j;

srand((int)time(NULL));

for(i=0;i<=25;i++)
{ remap:
a[i]=rand()%75+1;
if(i==0) continue;

for(j=0;j<=i-1;j++)
if(a[i]==a[j]) goto remap;
}

printf("\n%d %d %d %d %d\n" , a[0], a[1],a[2],a[3],a[4]);
printf("%d %d %d %d %d\n" , a[5], a[6],a[7],a[8],a[9]);
printf("%d %d %d %d %d\n" , a[10], a[11],a[12],a[13],a[14]);
printf("%d %d %d %d %d\n" , a[15], a[16],a[17],a[18],a[19]);
printf("%d %d %d %d %d\n" , a[20], a[21],a[22],a[23],a[24]);

}
조회 수 :
1485
추천 수 :
39 / 0
등록일 :
2006.02.09
21:38:59 (*.78.103.207)
엮인글 :
http://bestceok.com/xe/index.php?mid=pds&document_srl=6749&act=trackback&key=2ce
게시글 주소 :
http://bestceok.com/xe/index.php?mid=pds&document_srl=6749

하록

2006.02.24
21:39:45
(*.12.195.3)
90351228-7936085075

123

2006.02.24
21:41:18
(*.12.195.2)
: 80036485-0091373289
List of Articles
번호 제목 글쓴이 날짜 조회 수
54 한글 영문 변환 프로그램.... file 하록 2012-07-12 367
53 Usb to Serial Driver All Version file 하록 2009-10-28 1965
52 Usb To Serial Vista 드라이버... file 하록 2008-10-09 1038
51 터미널서버 프로그램 file 하록 2007-08-24 972
50 USB FDD 드라이버 file 하록 2006-10-01 1104
49 portbase 메뉴얼 file 하록 2006-08-10 1019
48 터미널서버 메뉴얼 file 하록 2006-08-10 1120
» 랜덤 출력 소스...(빙고게임) [2] 하록 2006-02-09 1485
46 Password Auto 변경... file 하록 2006-02-09 1176
45 사다리게임... [1] [7] file 하록 2005-07-18 1608
44 Usb to Serial Driver file 하록 2005-01-06 1221
43 Love Actually의 한 장면.. 하록 2004-01-08 1030
42 HPCP 교재 요약 최민수 2003-07-11 1783
41 HPCP 덤프 모음 최민수 2003-07-11 1726
40 서버 위치를 지도로 "VisualRoute" v7.1d build 1962 file 하록 2003-05-24 1396
39 디아시디키 빼는거 [2] file 강원걸 2002-01-02 4881
38 유닉스 소스 file 강원걸 2001-12-05 1144
37 데이타베이스 병행수행 강원걸 2001-12-03 1127
36 넷버스 1.7 한글판 [7] [2] file 강원걸 2001-11-24 11783
35 유닉스 통신 프로그램 소스 file 강원걸 2001-11-06 1382