19811번 - Too Many Hyphens
지문의
For example, for the string "++-{-}" there are exactly five optimal escaped strings: "++-{-}", "++-{-}", "++{--}", "+{+--}", "{++--}".
부분이
For example, for the string "++--" there are exactly five optimal escaped strings: "++-{-}", "++-{}-", "++{-}-", "+{+-}-", "{++-}-".
가 되어야 합니다.
지문은 다음 링크를 참고했습니다. https://codeforces.com/gym/102...
댓글을 작성하려면 로그인해야 합니다.
ychangseok 8달 전 1
지문의
For example, for the string "++-{-}" there are exactly five optimal escaped strings: "++-{-}", "++-{-}", "++{--}", "+{+--}", "{++--}".
부분이
For example, for the string "++--" there are exactly five optimal escaped strings: "++-{-}", "++-{}-", "++{-}-", "+{+-}-", "{++-}-".
가 되어야 합니다.
지문은 다음 링크를 참고했습니다. https://codeforces.com/gym/102...