{"categories":["yukicoder","dp","\u8981\u5fa9\u7fd2"],"provider_url":"https://hatena.blog","image_url":null,"blog_url":"https://mmxsrup.hatenablog.com/","author_url":"https://blog.hatena.ne.jp/mmxsrup/","version":"1.0","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmmxsrup.hatenablog.com%2Fentry%2F2016%2F09%2F07%2F142402\" title=\"yukicoder No.27 \u677f\u306e\u6e96\u5099 - srup\u306e\u30e1\u30e2\u5e33\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"\u554f\u984c \u554f\u984c\u6982\u8981 \u500b\u6570\u5236\u9650\u306a\u3057\u30ca\u30c3\u30d7\u30b6\u30c3\u30af\u554f\u984c\u3002 \u89e3\u6cd5 dp[x] := ita[0]~ita[2]\u3092\u4f7f\u3044\u3001\u9577\u3055x\u306e\u677f\u3092\u4f5c\u308b\u306e\u306b\u3001\u5fc5\u8981\u306a\u6700\u5c0f\u306e\u677f\u306e\u679a\u6570\u3068\u7f6e\u304d\u3001\u30eb\u30fc\u30d7\u3067\u56de\u3057\u3066\u57cb\u3081\u3066\u3044\u3063\u305f\u3002 \u3057\u305f\u306e\u306f\u3001\u540c\u3058\u3082\u306e\u3092\u9078\u3076\u6642\u306b\u3001\u30eb\u30fc\u30d7\u3092\u56de\u3057\u3066\u3001\u53d6\u308c\u308b\u6570\u307e\u3067\u540c\u3058\u3082\u306e\u3092\u53d6\u308b\u3088\u3046\u306b\u3057\u3066\u308b\u306e\u3067\u3001\u9045\u3044\u3002 for (int x = 1; x <= 30; ++x){ for (int y = 0; y < 3; ++y){//\u4f7f\u3046\u677f for (int z = 1; z <= 30; ++z){//\u540c\u3058\u9577\u3055\u306e\u677f\u3092\u4f55\u5ea6\u3082\u4f7f\u3046\u3053\u3068\u306f\u3042\u308b if(1 <= x - ita[y] * z && x - ita[y] * z <=\u2026","provider_name":"Hatena Blog","title":"yukicoder No.27 \u677f\u306e\u6e96\u5099","width":"100%","author_name":"mmxsrup","type":"rich","blog_title":"srup\u306e\u30e1\u30e2\u5e33","url":"https://mmxsrup.hatenablog.com/entry/2016/09/07/142402","published":"2016-09-07 14:24:02"}