
🔴 문제
A+B - 2
🟡 Sol
const fs = require('fs');
const path = process.platform === 'linux' ? '/dev/stdin' : 'Wiki\\input.txt';
const [a, b] = fs.readFileSync(path).toString().trim().split('\n').map(Number);
console.log(a+b);
🟢 풀이
⏰ 소요한 시간 : -
두 수를 한 줄에 하나씩 받아 더해주면 되는 문제
🔵 Ref