From 0150187db1e13c7c4d63c3bdfc57d7914f32cc25 Mon Sep 17 00:00:00 2001 From: Jongheon Yeo Date: Fri, 17 Apr 2020 14:31:49 +0900 Subject: [PATCH 1/3] homework4.txt --- homework4.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/homework4.txt b/homework4.txt index d8160f0..94cbf9b 100644 --- a/homework4.txt +++ b/homework4.txt @@ -1,2 +1,7 @@ 1. What is .gitignore? You can write the answer either in Korean or English. -2. Why do Github users need an SSH key pair? (Users can use either SSH key pair or github account info.) Please write down a brief explanation of SSH key. \ No newline at end of file +Git에서 특정 파일 혹은 디렉토리를 관리 대상에서 제외할 때 사용하는 파일을 말합니다. 이 파일 안에 기입된 내용들은 Git에서 관리하지 않는 것으로 제외할 수 있습니다. + +2. Why do Github users need an SSH key pair? (Users can use either SSH key pair or github account info.) Please write down a brief explanation of SSH key. +프로젝트에 접근하는 유저가 github의 유저 본인이 맞는지 검증하기 위해 사용한다. + +공개 키와 비공개 키로 만든 뒤, 로컬 머신에 비공개 키를, 리모트 머신에 공개 키를 위치시킨다. SSH 접속을 시도하면 로컬 머신과 원격 머신의 비공개키를 비교하여 일치 여부를 확인한다. From d0c8adfb7e0ad6587ff10ba626f2629a957e567d Mon Sep 17 00:00:00 2001 From: Jongheon Yeo Date: Fri, 17 Apr 2020 14:56:38 +0900 Subject: [PATCH 2/3] Source.cpp --- homework4/Source.cpp | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/homework4/Source.cpp b/homework4/Source.cpp index ab69b66..98723e0 100644 --- a/homework4/Source.cpp +++ b/homework4/Source.cpp @@ -25,9 +25,15 @@ int main() int* output = new int[arrsize]; cout << "Array output: "; - /*********************************** - Implement the code here! - ************************************/ + for (int i = 0; i < arrsize; i++) { + int num = 0; + for (int j = 0; j < arrsize; j++) { + if (arr[j] Date: Fri, 17 Apr 2020 15:10:21 +0900 Subject: [PATCH 3/3] Complete! --- homework4.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/homework4.txt b/homework4.txt index 94cbf9b..19971ee 100644 --- a/homework4.txt +++ b/homework4.txt @@ -1,7 +1,7 @@ -1. What is .gitignore? You can write the answer either in Korean or English. +1. What is .gitignore? You can write the answer either in Korean or English. Git에서 특정 파일 혹은 디렉토리를 관리 대상에서 제외할 때 사용하는 파일을 말합니다. 이 파일 안에 기입된 내용들은 Git에서 관리하지 않는 것으로 제외할 수 있습니다. 2. Why do Github users need an SSH key pair? (Users can use either SSH key pair or github account info.) Please write down a brief explanation of SSH key. -프로젝트에 접근하는 유저가 github의 유저 본인이 맞는지 검증하기 위해 사용한다. +프로젝트에 접근하는 유저가 github의 유저 본인이 맞는지 검증하기 위해 사용합니다. -공개 키와 비공개 키로 만든 뒤, 로컬 머신에 비공개 키를, 리모트 머신에 공개 키를 위치시킨다. SSH 접속을 시도하면 로컬 머신과 원격 머신의 비공개키를 비교하여 일치 여부를 확인한다. +공개 키와 비공개 키로 만든 뒤, 로컬 머신에 비공개 키를, 리모트 머신에 공개 키를 위치시킵니다. SSH 접속을 시도하면 로컬 머신과 원격 머신의 비공개키를 비교하여 일치 여부를 확인합니다.