• Image placeholder
  • 홈 페이지
  • 블로그 센터
  • 범주
Image placeholder

python문법

[baekjoon] 1662 압축

✍ 문제풀이 예를 들어, 33(562(71(9)))라는 문자열S가 주어졌다면, 괄호 안은 0이상의 문자열이고 괄호 앞에 붙은 수는 반복되는 횟수를 결정한다. 71(9)는 9가 1번 반복된다는 뜻이므로, 79가 되고 S는 33(562(79))가 된다. 562(79)는 79가 2번 반복된다는 뜻이므로, S는 33(567979)가 된다. 그러므로 압축되지 않은 문자열 S는 3567979567979...

algorithmpythonstackbaekjoonpython문법algorithm

© 2022 intrepidgeeks.com

Privacy Policy Contact US Sitemap
🍪 This website uses cookies to ensure you get the best experience on our website. Learn more