{"categories":["\u52d5\u7684\u8a08\u753b\u6cd5(DP)"],"width":"100%","title":"AOJ 1277 - Minimal Backgammon","height":"190","type":"rich","version":"1.0","author_url":"https://blog.hatena.ne.jp/emtubasa/","url":"https://emtubasa.hateblo.jp/entry/2018/09/30/230000_2","blog_title":"\u30c4\u30d0\u30b5\u306e\u5099\u5fd8\u9332","blog_url":"https://emtubasa.hateblo.jp/","provider_url":"https://hatena.blog","description":"\u554f\u984c 0~N\u307e\u3067\u306e\u76e4\u9762\u304c\u3042\u308b\u53cc\u516d\u3092\u3057\u307e\u3059\u3002 \u30c0\u30a4\u30b9\u306f1~6\u3067\u3001\u78ba\u7387\u306f\u3059\u3079\u3066\u7b49\u3057\u3044\u3067\u3059\u3002 \u30b9\u30bf\u30fc\u30c8\u306f0\u3067\u3001\u30b4\u30fc\u30eb\u304cN\u3067\u3059\u3002 \u30b4\u30fc\u30eb\u3092\u901a\u904e\u3059\u308b\u3068\u3001\u6ea2\u308c\u305f\u5206\u3060\u3051\u623b\u308a\u307e\u3059(\u30b4\u30fc\u30eb\u6271\u3044\u306b\u306f\u306a\u308a\u307e\u305b\u3093)\u3002 \u7279\u6b8a\u30de\u30b9\u304c2\u7a2e\u985e\u3042\u308a\u3001 L : \u4e00\u56de\u4f11\u307f B: \u30b9\u30bf\u30fc\u30c8\u3078\u623b\u308b \u3068\u3044\u3046\u3082\u306e\u304c\u5b58\u5728\u3057\u307e\u3059\u3002 \u3053\u306e\u53cc\u516d\u3092\u3001\u6307\u5b9a\u3055\u308c\u305f\u624b\u6570\u4ee5\u5185\u3067\u30b4\u30fc\u30eb\u3059\u308b\u3088\u3046\u306a\u78ba\u7387\u3092\u6c42\u3081\u3066\u304f\u3060\u3055\u3044\u3001\u3068\u3044\u3046\u3082\u306e\u3067\u3059\u3002 \u63d0\u51fa\u30b3\u30fc\u30c9 \u89e3\u6cd5 DP\u3092\u3057\u307e\u3059\u3002 dp[i][j] = i\u30bf\u30fc\u30f3\u5f8c\u306b\u3001\u30de\u30b9\u76eej\u306b\u3044\u308b\u3088\u3046\u306a\u78ba\u7387 \u3068\u3057\u3066DP\u3092\u3057\u3066\u3044\u304d\u305f\u3044\u306e\u3067\u3059\u304c\u3001\u3053\u308c\u3060\u3068\u4e00\u56de\u4f11\u307f\u306e\u5224\u5b9a\u304c\u5384\u4ecb\u306a\u306e\u3067\u3001 dp[i][j][k] = i\u30bf\u30fc\u30f3\u76ee\u306b\u3001\u30de\u30b9\u76eej\u306b\u3044\u308b\u3088\u3046\u2026","provider_name":"Hatena Blog","image_url":"https://cdn.blog.st-hatena.com/images/theme/og-image-1500.png","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Femtubasa.hateblo.jp%2Fentry%2F2018%2F09%2F30%2F230000_2\" title=\"AOJ 1277 - Minimal Backgammon - \u30c4\u30d0\u30b5\u306e\u5099\u5fd8\u9332\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"emtubasa","published":"2018-09-30 23:00:00"}