언젠가는 펼쳐 볼 아카이브
[BOJ] 27323번 - 직사각형 본문
사용언어 : 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);
}
'IT > Baekjoon Oline Judge' 카테고리의 다른 글
[BOJ] 15894번 - 수학은 체육과목 입니다 (0) | 2023.09.06 |
---|---|
[BOJ] 3009번 - 네 번째 점 (0) | 2023.09.06 |
[BOJ] 1085번 - 직사각형에서 탈출 (0) | 2023.09.06 |
[BOJ] 11653번 - 소인수분해 (0) | 2023.09.06 |
[BOJ] 2581번 - 소수 (0) | 2023.09.06 |