{"title":"dwango\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b3\u30f3\u30c6\u30b9\u30c8 A - \u30cb\u30b3\u30cb\u30b3\u6587\u5b57\u5217\uff12","width":"100%","categories":["AtCoder"],"description":"\u554f\u984c dwango2015-honsen.contest.atcoder.jp \u89e3\u6cd5 dp[n][x][renzoku][f2] = (n \u6587\u5b57\u76ee\u306e\u6642\u70b9\u3067\u30cb\u30b3\u30cb\u30b3\u6587\u5b57\u5217\u304c x \u500b\u3042\u308a, 25 \u3068\u3044\u3046\u6587\u5b57\u5217\u304c\u76f4\u524d\u306b renzoku \u500b\u7d9a\u3044\u3066\u3044\u3066, \u76f4\u524d\u306e\u6587\u5b57\u304c 2 \u3067\u3042\u308b\u304b\u3069\u3046\u304b\u306e\u30d5\u30e9\u30b0\u304c f2 \u3067\u3042\u308b\u5834\u5408\u306b, \u5168\u4f53\u3068\u3057\u3066\u30cb\u30b3\u30cb\u30b3\u6587\u5b57\u5217\u304c X \u500b\u672a\u6e80\u306b\u306a\u308b\u3088\u3046\u306a\u5834\u5408\u306e\u6570) \u3068\u3044\u3046 dp \u3092\u6c42\u3081\u307e\u3059\u3002\u6587\u5b57\u5217 S \u306e ? \u90e8\u5206\u306b\u306f\u305d\u308c\u305e\u308c 10 \u901a\u308a\u306e\u81ea\u7531\u5ea6\u304c\u3042\u308b\u306e\u3067, \u6c42\u3081\u308b\u7b54\u3048\u306f ? \u306e\u6570 p \u306b\u5bfe\u3057\u3066 10^p - dp[0][0][0][0] \u3068\u306a\u308a\u307e\u3059\u3002dp \u306f\u4e0a\u624b\u3044\u3053\u3068\u304c\u3093\u3070\u308a\u307e\u3057\u3087\u3046\u3002\u2026","height":"190","type":"rich","published":"2015-10-23 11:57:38","url":"https://mayokoex.hatenablog.com/entry/2015/10/23/115738","image_url":null,"author_name":"mayokoex","blog_url":"https://mayokoex.hatenablog.com/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmayokoex.hatenablog.com%2Fentry%2F2015%2F10%2F23%2F115738\" title=\"dwango\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b3\u30f3\u30c6\u30b9\u30c8 A - \u30cb\u30b3\u30cb\u30b3\u6587\u5b57\u5217\uff12 - mayoko\u2019s diary\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","version":"1.0","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/mayokoex/","blog_title":"mayoko\u2019s diary"}