백준 10824 JavaScript
수정하기
문서 생성 2021-10-31 20:38:04 최근 수정 2021-10-31 20:39:16
문제
풀이
const readFileSyncPath = require('path').basename(__filename).replace(/js$/, 'txt');// const readFileSyncPath = '/dev/stdin';const input = require('fs').readFileSync(readFileSyncPath).toString().split(" ");console.log(parseInt(input[0] + input[1]) + parseInt(input[2] + input[3]));