:: ADVANCE ::
[데이터 통신] 데이터 통신의 5가지 기본 요소 1. 송신자 - 메세지의 생성 및 송신을 담당하는 장치 2. 수신자 - 전송매체를 통해 전송된 메세지를 수신하는 장치 3. message - 통신의 목적이 되는 정보 4. 전송매체 - 메세지가 송신자로부터 수신자에게 전달되는 물리적인 경로 5. 프로토콜 - 데이터 통신을 제어하는 약속 또는 규칙들의 집합 프로토콜 프로토콜 - 정보의 송수신 측 또는 네트워크에서 정보를 신뢰성 있고 효율적이며 안전하게 주고 받기 위해 사전에 약속된 규약. 규범. 프로토콜의 주요 기능 1. Fragmentation & Reassembly 2. Connection control 3. Flow control 4. Error control 5. Synchronization 6. Se..
98일차 2. 15단계 이진트리 coci_obilazak http://183.106.113.109/30stair/coci_obilazak/coci_obilazak.php?pname=coci_obilazak 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 #include using namespace std; int tree[1100]; int pow(int n) { if(n == 0) return 1; return 2*pow(n-1); } int main(void) { int n, i, temp = 0; cin >> n; n = pow(n); for(i = 1; ..
98일차 1. 8단계 함수 mgcd http://183.106.113.109/30stair/mgcd/mgcd.php?pname=mgcd 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 #include using namespace std; int number[110]; int result; void gcm(int m, int n) { int temp; if(m == n) { result = m; return ; } if(n > m) { temp = n; n = m; m = temp; } gcm(n, m-n); } int main(void) { int n, i; c..