{"author_url":"https://blog.hatena.ne.jp/a_kawashiro/","image_url":null,"description":"\u554f\u984c\u6587\u8981\u7d04 \u8a18\u53f7\u3092\u542b\u3080\u6587\u5b57\u5217\u304c\u4e0e\u3048\u3089\u308c\u308b\u306e\u3067\u3001\u8a18\u53f7\u3092\u9664\u3044\u3066\u5c0f\u6587\u5b57\u3092\u5927\u6587\u5b57\u306b\u5909\u63db\u3057\u305f\u5f8c\u305d\u306e\u6587\u5b57\u5217\u304c\u542b\u3080\u56de\u6587\u3092\u5217\u6319\u305b\u3088\u3002\u305f\u3060\u3057cXc\u3068\u306a\u308b\u56de\u6587\u304c\u5b58\u5728\u3057\u305f\u5834\u5408X\u3092\u51fa\u529b\u3057\u3066\u306f\u306a\u3089\u306a\u3044\u3002 \u89e3\u6cd5 dp[i][j]=(i\u6587\u5b57\u76ee\u304b\u3089j\u6587\u5b57\u76ee\u307e\u3067\u304c\u56de\u6587\u3068\u306a\u3063\u3066\u3044\u308b\u304b\u3069\u3046\u304b) \u3067DP\u3059\u308b\u3002 #include <string> #include <iostream> #include <set> #include <string.h> using namespace std; int dp[1030][1030]; int main(){ string s; while(getline(cin,s)){ strin\u2026","title":"AOJ 1203","blog_url":"https://a-kawashiro.hatenablog.com/","author_name":"a_kawashiro","url":"https://a-kawashiro.hatenablog.com/entry/20120217/1329488483","version":"1.0","provider_url":"https://hatena.blog","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fa-kawashiro.hatenablog.com%2Fentry%2F20120217%2F1329488483\" title=\"AOJ 1203 - a_kawashiro\u306e\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":[],"blog_title":"a_kawashiro\u306e\u30d6\u30ed\u30b0","provider_name":"Hatena Blog","published":"2012-02-17 23:21:23","height":"190","width":"100%"}