From f4096b83f6d49fe33a626404ff3e760fcd5a45f0 Mon Sep 17 00:00:00 2001 From: jaewook Date: Fri, 17 Apr 2020 11:24:25 +0900 Subject: [PATCH 1/3] answer is written --- homework4.txt | 4 +++- homework4/2014-12505.zip | Bin 0 -> 608 bytes homework4/Source.cpp | 10 ++++++++++ 3 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 homework4/2014-12505.zip diff --git a/homework4.txt b/homework4.txt index d8160f0..4bc2bde 100644 --- a/homework4.txt +++ b/homework4.txt @@ -1,2 +1,4 @@ 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 +project에 원하지 않는 파일들을 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에 자신의 컴퓨터를 등록하는데 필요하다. diff --git a/homework4/2014-12505.zip b/homework4/2014-12505.zip new file mode 100644 index 0000000000000000000000000000000000000000..c05e58b53f975cf8f1d43f81a41cf8617062fca3 GIT binary patch literal 608 zcmWIWW@Zs#U|`^2D72m!u(Lk>(lJH`hUd%-3|v6b;QZ2}Lm=-bWLhxOtdl{xh5y=sZ_FE^VVVdmf%ghMX!9gKlg4f<6^g4TW+7L{`~Cin>k)y zpR`KiI^%cRJx+OmXof=0l4m!<{2Rxh`_)jjE;sKT1K{O`@o z?UN>LVU!m2%KX__!2I}Pi(uc^oC(Y=+1@j+PPuU?iqorkfs(Fx%gUq9(e@Q}l~r7a zJ1?)}@mYRhZ?M;%=(X7|np~ePZ8{(}b&cJu4@SAKKKt*NH#)v6yRbklS&emF3`hE# zbDi(6*dD#wxXyJO`_hS*?!4V&Dr0xTT*W~0*IToBN)ZYRh1eVePHwO|5SbP_v+;C% z`ck(8GTd9vX-@5YqQe`x^Vz&h)y2F-Oe0a#kzt)i$l+EjMR$CcDdjtU7w$)h3~+xX+lOt+ub5oZnZ-F*|oXHjrepAME%_teCyWq_l@#&mtZX2Sj6fIz Lq~8J45d#ANoZtPX literal 0 HcmV?d00001 diff --git a/homework4/Source.cpp b/homework4/Source.cpp index ab69b66..be3a10c 100644 --- a/homework4/Source.cpp +++ b/homework4/Source.cpp @@ -29,6 +29,16 @@ int main() Implement the code here! ************************************/ + int x; + for (int i = 0; i < arrsize; i++) { + x = 0; + for (int j = 0; j < arrsize; j++) { + if (arr[i] > arr[j]) + x++; + } + output[i] = x; + } + for (int i = 0; i < arrsize; i++) { cout << output[i] << " "; } From 16372568ce04ba45a5f4af769443a0fb6526226b Mon Sep 17 00:00:00 2001 From: jaewook Date: Fri, 17 Apr 2020 12:50:07 +0900 Subject: [PATCH 2/3] cpp --- homework4/Sorce.cpp | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 homework4/Sorce.cpp diff --git a/homework4/Sorce.cpp b/homework4/Sorce.cpp new file mode 100644 index 0000000..e69de29 From 1ad3e3d04c170bec8aa37285590a54804d81c117 Mon Sep 17 00:00:00 2001 From: jaewook Date: Fri, 17 Apr 2020 12:52:37 +0900 Subject: [PATCH 3/3] asdf --- homework4/2014-12505.zip | Bin 608 -> 0 bytes homework4/Sorce.cpp | 0 2 files changed, 0 insertions(+), 0 deletions(-) delete mode 100644 homework4/2014-12505.zip delete mode 100644 homework4/Sorce.cpp diff --git a/homework4/2014-12505.zip b/homework4/2014-12505.zip deleted file mode 100644 index c05e58b53f975cf8f1d43f81a41cf8617062fca3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 608 zcmWIWW@Zs#U|`^2D72m!u(Lk>(lJH`hUd%-3|v6b;QZ2}Lm=-bWLhxOtdl{xh5y=sZ_FE^VVVdmf%ghMX!9gKlg4f<6^g4TW+7L{`~Cin>k)y zpR`KiI^%cRJx+OmXof=0l4m!<{2Rxh`_)jjE;sKT1K{O`@o z?UN>LVU!m2%KX__!2I}Pi(uc^oC(Y=+1@j+PPuU?iqorkfs(Fx%gUq9(e@Q}l~r7a zJ1?)}@mYRhZ?M;%=(X7|np~ePZ8{(}b&cJu4@SAKKKt*NH#)v6yRbklS&emF3`hE# zbDi(6*dD#wxXyJO`_hS*?!4V&Dr0xTT*W~0*IToBN)ZYRh1eVePHwO|5SbP_v+;C% z`ck(8GTd9vX-@5YqQe`x^Vz&h)y2F-Oe0a#kzt)i$l+EjMR$CcDdjtU7w$)h3~+xX+lOt+ub5oZnZ-F*|oXHjrepAME%_teCyWq_l@#&mtZX2Sj6fIz Lq~8J45d#ANoZtPX diff --git a/homework4/Sorce.cpp b/homework4/Sorce.cpp deleted file mode 100644 index e69de29..0000000