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

Alpha

sicily 1001. Alphacode dp

동적 기획을 보고 dp에 대한 대략적인 이해를 했습니다. 이 문제는 그동안 끊겼고 처음에는 검색으로도 했습니다. 0에 대한 처리에 주의해야 한다. 방정식을 잘못 열거하기 시작한다. WA는 여러 번 dp 방정식은 a[n] = a[n-1] + a[n-2]이고 입력한 문자열은 한 번에 X1X2X3... Xn... Xn = 0 시, a[n] = a[n-2] 땡땡!0시, 만약에 X(n-1)와 X(n)...

Alpha

1001. Alphacode (sicily)

Alice and Bob need to send secret messages to each other and are discussing ways to encode their messages: Alice: "Let's just use a very simple code: We'll assign `A' the code word 1, `B' will be 2, and so on down to `Z'...

Alpha

© 2022 intrepidgeeks.com

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