치춘짱베리굿나이스

[백준] 2393 본문

Rook

문제

You have just learned how to output text to the screen and your teacher has challenged you to create an ASCII art of a chess piece. You have decided to make your favorite piece, the rook.

출력

The rook art, exactly as shown below, with no extra blank spaces. In particular, a line must not end with a blank space.

풀이

console.log(`  ___  ___  ___
  | |__| |__| |
  |           |
   \\_________/
    \\_______/
     |     |
     |     |
     |     |
     |     |
     |_____|
  __/       \\__
 /             \\
/_______________\\`);

반성회

그냥 출력하면 되는 문제

몇몇 문제가 (꽤 많이) 추가되면서 브5 올솔 기록이 깨졌길래 그냥 풀어봄

'Javascript + Typescript > 자바스크립트로 알고리즘풀기' 카테고리의 다른 글

[백준] 6840  (0) 2023.07.16
[백준] 4470  (0) 2023.07.14
[백준] 2083  (0) 2023.06.30
[백준] 1654  (0) 2023.06.28
[백준] 11365  (0) 2022.08.04
Comments