(1).백준 5362번 Garbled Message는 th가 모두 iiing로 변경되어서 해당 내용을 수정해달라는 문제로
간단하게 replaceAll을 사용해서 대체하고 출력하는 방식으로 해결했다.
const input = `Dariiing Bane restructured iiinge cult, so iiingat iiingere
could only be two - no more, no less - a master, and an
apprentice. Bane adopted cunning, subterfuge, and stealiiing as
iiinge fundamental tenets of iiinge Siiiing order. Bane took an
apprentice. When iiingat apprentice succeeded him, iiingat new
Siiiing Lord would take an apprentice.`
console.log(input.replaceAll('iiing','th'))'회고' 카테고리의 다른 글
| [개발일지] - 802(주말) (0) | 2025.09.13 |
|---|---|
| [개발일지] - 801 (0) | 2025.09.12 |
| [개발일지] - 799 (0) | 2025.09.10 |
| [개발일지] - 798 (0) | 2025.09.09 |
| [개발일지] - 797 (0) | 2025.09.08 |
