# [Algorithm/JS] ๋ฐฑ์ค€ 10172๋ฒˆ ๊ฐœ | Node.js

๐Ÿ”— ๋ฌธ์ œ ๋ฐ”๋กœ๊ฐ€๊ธฐ (opens new window)

# Question

์•„๋ž˜ ์˜ˆ์ œ์™€ ๊ฐ™์ด ๊ฐœ๋ฅผ ์ถœ๋ ฅํ•˜์‹œ์˜ค.

# Input

์ž…๋ ฅ ์—†์Œ

# Output

๊ฐœ๋ฅผ ์ถœ๋ ฅํ•œ๋‹ค.

# Example Input

์ž…๋ ฅ ์—†์Œ

# Example Output

|\_/|
|q p|   /}
( 0 )"""\
|"^"`    |
||_/=\\__|
1
2
3
4
5

# Solution

console.log(`|\\_/|
|q p|   /}
( 0 )\"\"\"\\
|\"^\"\`    |
||_/=\\\\__|`);
1
2
3
4
5

๋ฐฑํ‹ฑ(`)์„ ์‚ฌ์šฉํ•ด ์ถœ๋ ฅํ–ˆ๋‹ค.

# ๋ฐฑ์Šฌ๋ž˜์‹œ ์‚ฌ์šฉ ์ถœ๋ ฅ ๋ฌธ๋ฒ•

\\ : ์—ญ์Šฌ๋ž˜์‹œ ๋‘๋ฒˆ์€ \ ์—ญ์Šฌ๋ž˜์‹œ๋ฅผ ํ•œ๋ฒˆ์„ ์ถœ๋ ฅ
\n : ์ค„๋ฐ”๊ฟˆ
\' : ์ž‘์€ ๋”ฐ์˜ดํ‘œ " : ํฐ ๋”ฐ์˜ดํ‘œ

Last Updated: 2022. 6. 5. ์˜คํ›„ 3:42:39