{"blog_title":"a_kawashiro\u306e\u30d6\u30ed\u30b0","provider_name":"Hatena Blog","published":"2011-04-01 10:40:15","categories":["topcoder"],"height":"190","author_url":"https://blog.hatena.ne.jp/a_kawashiro/","blog_url":"https://a-kawashiro.hatenablog.com/","type":"rich","description":"\u60dc\u3057\u304b\u3063\u305f\u3002\u3082\u3046\u3061\u3087\u3063\u3068\u7c98\u308c\u3070\u6b63\u89e3\u306b\u305f\u3069\u308a\u7740\u3051\u305f\u304b\u3082\u3057\u308c\u306a\u3044\u3002 \u308f\u304b\u3089\u306a\u304b\u3063\u305f\u306e\u306f\u3053\u306e\u90e8\u5206 for(int next=startIndex.back()+1;0<=left-next && next<=(length-left+1);next++) \u3053\u306e\u6587\u304c\u3042\u308b\u3068\u5de6\u304b\u3089\u57cb\u3081\u3066\u3044\u3063\u305f\u3068\u304d\u306b\u7a74\u304c\u3067\u304d\u308b\u53ef\u80fd\u6027\u3092\u6e1b\u3089\u305b\u308b\u304b\u3089\u3002 next<=(length-left+1) \u304c\u5165\u308b\u3002 #include <string> #include <vector> using namespace std; class IdealString { public: string ans; int length; str\u2026","provider_url":"https://hatena.blog","version":"1.0","title":"SRM405 div2 hard","url":"https://a-kawashiro.hatenablog.com/entry/20110401/1301622015","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fa-kawashiro.hatenablog.com%2Fentry%2F20110401%2F1301622015\" title=\"SRM405 div2 hard - 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>","image_url":null,"author_name":"a_kawashiro"}