[백준11718_자바스크립트(javascript)] - 그대로 출력하기

경이·2024년 9월 26일

𝑩𝑶𝑱 (𝒋𝒔)

목록 보기
185/325

🔴 문제

그대로 출력하기


🟡 Sol

const fs = require('fs');
const path = process.platform === 'linux' ? '/dev/stdin' : 'input.txt';
const inputs = fs.readFileSync(path).toString();

console.log(inputs);

🟢 풀이

⏰ 소요한 시간 : -

그대로 출력하기니까 입력받은 inputs 값을 그대로 출력해주면 된다.


🔵 Ref

profile
록타르오가르

0개의 댓글