|
seed for rand() */
void srand(unsigned int seed)
{
next = seed;
}
void bubble_sort(int [], int);
int binsearch(int [], int, int);
void main()
{
int i, temp, b;
int arr[MAX];
srand( 49 ); /* set a seed number */
printf("\n정렬 전 배열 : ");
for(i=0; i<MAX; i++){
arr[i] = rand();
printf("%d ", arr
|
- 페이지 22페이지
- 가격 3,000원
- 등록일 2004.06.26
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
}
else
{
printfAnswer();
break;
}
}
}
static int max = LIMIT;
static int min = 1;
static trycount = 0;
void setNumber()
{
int seed;
extern number;
seed = time(NULL);
srand(seed);
number = rand()%LIMIT + 1;
}
void printfHead()
{
printf("1에서 %d까지의 한 정수가 결정되었습니다.\n", LIMIT);
printf("이
|
- 페이지 10페이지
- 가격 1,000원
- 등록일 2006.11.12
- 파일종류 한글(hwp)
- 참고문헌 있음
- 최근 2주 판매 이력 없음
|
|
2. 프로그램( 전체 프로그램 출력 ) //SAVING SIMULATION WITH RANDOM VARIABLES // // PERINC : increment of salary, uniform random number // // PERINT : increment of savings, 5% compounded // // YEAR : current year of simulation // // PERLOW : lower bound 0% // // PERHIG : upper bound 8% // // SEED : se
|
- 페이지 5페이지
- 가격 9,000원
- 등록일 2010.03.29
- 파일종류 압축파일
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
e <time.h>
#define MAX 45
int main(void)
{
int i, number, n;
long seed;
seed=time(NULL);
srand(seed); //난수 발생시 사용하는 seed값(난수발생범위)를 초기화
printf("Lotto Auto Number Generators\n");
printf("How Many Sheets do you want?:");
scanf("%3d", &n);
for (i=0; i<6; i++)
{
number=rand(
|
- 페이지 3페이지
- 가격 800원
- 등록일 2008.12.04
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
Number of quantization levels is M = 2^n.
% Dynamic range of the quantizer is restricted to the interval [-1, 1].
% Scaling 파라미터를 생략하거나 \'yes\'로 하면 입력을 normalize한 후에 양자화한다.
% Scaling 파라미터를 \'no\'로 하면 입력을 normalize하지 않는다.
%
% Non-unifo
|
- 페이지 143페이지
- 가격 3,300원
- 등록일 2014.07.28
- 파일종류 압축파일
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|