From 083bc9ccf731f6edaee78f360022f6c1e290d571 Mon Sep 17 00:00:00 2001 From: Kled Yu <83483378+1017yu@users.noreply.github.com> Date: Mon, 26 Feb 2024 10:26:52 +0900 Subject: [PATCH 1/2] =?UTF-8?q?Delete=20Kled/=ED=96=89=EB=A0=AC=EC=9D=98?= =?UTF-8?q?=20=EA=B3=B1=EC=85=88.js?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...54\354\235\230 \352\263\261\354\205\210.js" | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 "Kled/\355\226\211\353\240\254\354\235\230 \352\263\261\354\205\210.js" diff --git "a/Kled/\355\226\211\353\240\254\354\235\230 \352\263\261\354\205\210.js" "b/Kled/\355\226\211\353\240\254\354\235\230 \352\263\261\354\205\210.js" deleted file mode 100644 index a76010d..0000000 --- "a/Kled/\355\226\211\353\240\254\354\235\230 \352\263\261\354\205\210.js" +++ /dev/null @@ -1,18 +0,0 @@ -function solution(arr1, arr2) { - let answer = []; - - arr1.forEach(value1 => { - let tempArray = []; - - arr2[0].forEach((_, index2) => { - let temp = 0; - - value1.forEach((el1, index1) => temp += el1 * arr2[index1][index2]); - tempArray.push(temp); - }); - - answer.push(tempArray); - }); - - return answer; -} From a5aafffe32327e4f1bb5ae4afd7b2db6b7758377 Mon Sep 17 00:00:00 2001 From: Kled Yu <83483378+1017yu@users.noreply.github.com> Date: Mon, 26 Feb 2024 10:27:23 +0900 Subject: [PATCH 2/2] =?UTF-8?q?[PGM]=20=ED=96=89=EB=A0=AC=EC=9D=98=20?= =?UTF-8?q?=EA=B3=B1=EC=85=88=20/=20Level=202=20/=2030=EB=B6=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...54\354\235\230 \352\263\261\354\205\210.js" | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 "Kled/\355\226\211\353\240\254\354\235\230 \352\263\261\354\205\210.js" diff --git "a/Kled/\355\226\211\353\240\254\354\235\230 \352\263\261\354\205\210.js" "b/Kled/\355\226\211\353\240\254\354\235\230 \352\263\261\354\205\210.js" new file mode 100644 index 0000000..a76010d --- /dev/null +++ "b/Kled/\355\226\211\353\240\254\354\235\230 \352\263\261\354\205\210.js" @@ -0,0 +1,18 @@ +function solution(arr1, arr2) { + let answer = []; + + arr1.forEach(value1 => { + let tempArray = []; + + arr2[0].forEach((_, index2) => { + let temp = 0; + + value1.forEach((el1, index1) => temp += el1 * arr2[index1][index2]); + tempArray.push(temp); + }); + + answer.push(tempArray); + }); + + return answer; +}