🔴 문제
A×B
🟡 Sol
const fs = require('fs');
const path = process.platform === 'linux' ? '/dev/stdin' : 'Wiki\\input.txt';
const [a, b] = fs.readFileSync(path).toString().trim().split(' ').map(Number);
console.log(a * b);
🟢 풀이
⏰ 소요한 시간 : -
입력 받아온 값을 숫자로 바꾼 뒤 곱해서 출력한다.
🔵 Ref