|
c++;
}
}
set[c] = 871217114;
}
void outputele(int set[],int num) //출력함수
{
int i= 0;
overlap(set,num);
printf("집합의 원소를 출력합니다.\n{");
for(i=0;i<num;i++){
if(set[i] == 871217114)
break;
printf("[%d]",set[i]);
}
printf("}\n");
}
결과값
2번(교집합)을 선택해서 두집합을 아래
|
- 페이지 4페이지
- 가격 1,300원
- 등록일 2012.04.15
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
이산수학_report#2-2.hwp
[문제2]
≪ 글 - 그림 파일 ≫
◉예제데이터와 실험결과
setA를 16진수 0xD6, setB를 16진수 0xAE로 초기화하고 비트열로 나타내고
그에 따른 합집합, 교집합, 여집합, 배타적-합집합, 차집합, A B 가 서로소인지,
|
- 페이지 28페이지
- 가격 3,000원
- 등록일 2012.12.23
- 파일종류 기타
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
NT set2) { return set1&(~set2); } // 차집합, difference
int IsDisjoint(UINT set1, UINT set2) { return (set1&(set1&set2)?FALSE:TRUE); }
// 서로소인지를검사, 반환값(TRUE:맞음,FALSE:아님)
int Cardinality(UINT set1) // 기수출력, 반환값(기수값=원소의개수)
{
UINT M = 0x80000000; // 100000000
|
- 페이지 4페이지
- 가격 3,300원
- 등록일 2012.08.31
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
class Set
{
private:
int arySize; //maximum size of a set
int currentSize; //current size of a set
int* data; //pointer for data
string set_name; //name of a set
public:
Set();
Set(int asize, string setName);
Set(const Set& copycon);
~Set(){}
|
- 페이지 1페이지
- 가격 4,000원
- 등록일 2010.11.09
- 파일종류 압축파일
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
// Math.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <memory.h>
#include <list>
using namespace std;
#define MAX_CNT 6
int ArrayA[MAX_CNT]; // 배열 A
int ArrayB[MAX_CNT]; // 배열 B
int ArrayOutput[MAX_CNT*2];
int nOperation;
|
- 페이지 6페이지
- 가격 2,000원
- 등록일 2009.04.08
- 파일종류 텍스트(txt)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|