Javascript + Typescript/자바스크립트로 알고리즘풀기
[백준] 2393
치춘
2023. 7. 5. 12:40
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 올솔 기록이 깨졌길래 그냥 풀어봄