언젠가는 펼쳐 볼 아카이브

[BOJ] 27323번 - 직사각형 본문

IT/Baekjoon Oline Judge

[BOJ] 27323번 - 직사각형

개발자희망생고롸파덕 2023. 9. 6. 16:45

사용언어 : javascript - node.js

 

#제출코드

const fs = require('fs');
const filePath = process.platform === 'linux' ? '/dev/stdin' : './input.txt';
const [a, b] = fs.readFileSync(filePath).toString().trim().split('\n');
solution(+a, +b);

function solution(a, b) {
  console.log(a * b);
}