Skip to content

Commit ce8f675

Browse files
committed
[Bronze III] Title: 그대로 출력하기 2, Time: 96 ms, Memory: 9348 KB -BaekjoonHub
1 parent 0228d5c commit ce8f675

2 files changed

Lines changed: 43 additions & 0 deletions

File tree

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# [Bronze III] 그대로 출력하기 2 - 11719
2+
3+
[문제 링크](https://www.acmicpc.net/problem/11719)
4+
5+
### 성능 요약
6+
7+
메모리: 9348 KB, 시간: 96 ms
8+
9+
### 분류
10+
11+
구현, 문자열
12+
13+
### 제출 일자
14+
15+
2026년 2월 3일 20:20:08
16+
17+
### 문제 설명
18+
19+
<p>입력 받은 대로 출력하는 프로그램을 작성하시오.</p>
20+
21+
### 입력
22+
23+
<p>입력이 주어진다. 입력은 최대 100줄로 이루어져 있고, 알파벳 소문자, 대문자, 공백, 숫자로만 이루어져 있다. 각 줄은 100글자를 넘지 않으며, 빈 줄이 주어질 수도 있고, 각 줄의 앞 뒤에 공백이 있을 수도 있다.</p>
24+
25+
### 출력
26+
27+
<p>입력받은 그대로 출력한다.</p>
28+
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
// /dev/stdin
2+
const fs = require("fs");
3+
let input = fs
4+
.readFileSync("/dev/stdin")
5+
.toString()
6+
.split("\n")
7+
.map((x) => x.replace("\r", ""));
8+
9+
let result = "";
10+
11+
for (const word of input) {
12+
result += word + "\n";
13+
}
14+
15+
console.log(result);

0 commit comments

Comments
 (0)