{"width":"100%","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fy-mazun.hatenablog.com%2Fentry%2F20121105%2F1352130231\" title=\"SRM 403: TheLuckySequence - y_mazun\u2019s blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","author_url":"https://blog.hatena.ne.jp/y_mazun/","blog_url":"https://y-mazun.hatenablog.com/","type":"rich","author_name":"y_mazun","url":"https://y-mazun.hatenablog.com/entry/20121105/1352130231","provider_url":"https://hatena.blog","description":"(\u554f\u984c\u6982\u8981) 4, 7\u3060\u3051\u3067\u69cb\u6210\u3055\u308c\u305f\u6570\u5024\u3092Lucky number\u3068\u3059\u308b\u3002 \u4ee5\u4e0b\u3092\u6e80\u305f\u3059\u9577\u3055length\u306e\u6570\u5217\u306f\u4f55\u500b\u3042\u308b\u304b \u2200i, A[i] is Lucky number \u2200i, \u2203j, A[i] = numbers[j] \u2200i, last digit of A[i] == first digit of A[i + 1] (\u89e3\u6cd5) numbers\u306e\u3046\u3061\u306eLucky number\u3060\u3051\u6b8b\u3059 \u521d\u671f\u72b6\u614b\u306fnumbers\u306e\u3046\u3061\u3069\u308c\u3067\u3082\u3088\u304f\u3001length\u304c\u5897\u3048\u308b\u3054\u3068\u306b\u72b6\u614b\u9077\u79fb\u3059\u308b\u611f\u3058\u3067\u8003\u3048\u308b length\u304c\u5c0f\u3055\u3051\u308c\u3070DP\u3067\u826f\u3044\u304c\u5927\u304d\u3044\u306e\u3067\u884c\u5217\u306e\u7d2f\u4e57\u3092\u4f7f\u3046 \u884c\u5217\u306e\u7d2f\u4e57\u3068\u304b\u3044\u3044\u52a0\u6e1b\u306b\u30e9\u30a4\u30d6\u30e9\u30ea\u5316\u3059\u308b\u3079\u304d\u3002\u2026","published":"2012-11-05 00:43:51","provider_name":"Hatena Blog","title":"SRM 403: TheLuckySequence","categories":["SRM"],"version":"1.0","blog_title":"y_mazun\u2019s blog"}