From 497ce1e7fd7e23246e11d7c8e645505734b9c720 Mon Sep 17 00:00:00 2001 From: beurmuz Date: Thu, 11 Aug 2022 20:07:09 +0900 Subject: [PATCH] =?UTF-8?q?#17=2022.08.11=20>=203=20>=20=EA=B3=B1=EC=85=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/bj/bronze/3/2588.js | 10 ++++++++++ src/bj/bronze/3/README.md | 1 + 2 files changed, 11 insertions(+) create mode 100644 src/bj/bronze/3/2588.js diff --git a/src/bj/bronze/3/2588.js b/src/bj/bronze/3/2588.js new file mode 100644 index 00000000..b7d26711 --- /dev/null +++ b/src/bj/bronze/3/2588.js @@ -0,0 +1,10 @@ +'use strict'; + +const inputs = require('fs').readFileSync('/dev/stdin').toString().trim().split('\n'); +const n1 = inputs[0].split(''); +const n2 = inputs[1].split(''); + +console.log(+inputs[0]*n2[2]); +console.log(+inputs[0]*n2[1]); +console.log(+inputs[0]*n2[0]); +console.log(+inputs[0] * +inputs[1]); \ No newline at end of file diff --git a/src/bj/bronze/3/README.md b/src/bj/bronze/3/README.md index 2e2081bf..2453d540 100644 --- a/src/bj/bronze/3/README.md +++ b/src/bj/bronze/3/README.md @@ -2,3 +2,4 @@ ||문제번호|문제명|응시 날짜|채점 결과|링크| |:-:|:--:|:--:|:---:|:---:|:-| |1|1085|[직사각형에서 탈출](./1085.js)|22.07.07|O|[해설](https://velog.io/@muz/%EB%B0%B1%EC%A4%80node.js-1085%EB%B2%88-%EC%A7%81%EC%82%AC%EA%B0%81%ED%98%95%EC%97%90%EC%84%9C-%ED%83%88%EC%B6%9C-Math.min)| +|2|2588|[곱셈](./2588.js)|22.08.11|O|| \ No newline at end of file