{"provider_name":"Hatena Blog","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Flogfiles.hatenablog.com%2Fentry%2F20140824%2F1408841285\" title=\"\u5929\u4e0b\u4e00\u4e88\u9078B B - \u30a8\u30bf\u30fc\u30ca\u30eb\u30b9\u30bf\u30c6\u30a3\u30c3\u30af\u30d5\u30a1\u30a4\u30ca\u30eb  - Logfiles\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2014-08-24 09:48:05","author_name":"moistx","url":"https://logfiles.hatenablog.com/entry/20140824/1408841285","title":"\u5929\u4e0b\u4e00\u4e88\u9078B B - \u30a8\u30bf\u30fc\u30ca\u30eb\u30b9\u30bf\u30c6\u30a3\u30c3\u30af\u30d5\u30a1\u30a4\u30ca\u30eb ","image_url":null,"blog_title":"Logfiles","description":"\u89e3\u6cd5 dp[\u6587\u5b57\u6570] := \u899a\u3048\u3066\u3044\u308b\u546a\u6587\u5168\u3066\u3092\u8003\u616e\u3057\u305f\u3068\u304d\u3001\u65b0\u3057\u3044\u546a\u6587\u306e\u5148\u982d\u304b\u3089\u6587\u5b57\u6570\u5206\u306e\u6587\u5b57\u5217\u3092\u751f\u6210\u3059\u308b\u5834\u5408\u6570 \u53cd\u7701 \u81ea\u5206\u3067\u6587\u5b57\u3092\u6c7a\u3081\u308b\u3068\u304d\u3001 N, M \u3068\u304b\u3060\u3068\u5b57\u9762\u304c\u4f3c\u3066\u3066\u9593\u9055\u3048\u3084\u3059\u3044\u3002\u672c\u756a\u306f\u4ee5\u4e0b\u306e NEWSIZE \u3092 M \u3068\u66f8\u3044\u3066\u3044\u3066\u3001\u305d\u306e\u30d0\u30b0\u3067\u8a70\u307e\u3063\u3066\u3044\u305f\u3002 #include <bits/stdc++.h> using namespace std; typedef long long ll; #define rep(i,n) for(int i=0;i<n;i++) #define MOD (1000000007) int main() { ll dp[1010] = {}; int\u2026","author_url":"https://blog.hatena.ne.jp/moistx/","blog_url":"https://logfiles.hatenablog.com/","width":"100%","categories":[],"version":"1.0","type":"rich","height":"190"}