{"version":"1.0","title":"TopCoder SRM608: BigOEasy","categories":["TopCoder","Div2","Div2Hard"],"type":"rich","author_name":"EmK","image_url":null,"provider_name":"Hatena Blog","url":"https://emkcsharp.hatenablog.com/entry/SRM608/BigOEasy","description":"\u3069\u3046\u3044\u3046\u5834\u5408\u306b\u30d1\u30bf\u30fc\u30f3\u6570\u304c\u6307\u6570\u95a2\u6570\u30aa\u30fc\u30c0\u30fc\u306b\u306a\u308b\u304b\u3068\u3044\u3046\u3068\u3001\u305d\u308c\u306f \u3042\u308b\u70b9\u306b\u5bfe\u3057\u3066\u8907\u6570\u30eb\u30fc\u30d7\u304c\u5b58\u5728\u3059\u308b\u5834\u5408 \u3068\u3044\u3046\u6761\u4ef6\u3092\u6e80\u305f\u3059\u3068\u304d\u306b\u306a\u308b\u3002\u30eb\u30fc\u30d7\u304c\uff11\u3064\u3057\u304b\u306a\u3044\u5834\u5408\u306f\u3001\u7dda\u5f62\u30aa\u30fc\u30c0\u30fc\u3067\u3057\u304b\u30d1\u30bf\u30fc\u30f3\u304c\u5897\u3048\u306a\u3044\u304c\u3001\uff12\u3064\u4ee5\u4e0a\u3042\u308b\u5834\u5408\u306f\u30eb\u30fc\u30d7\u3067\u623b\u308b\u305f\u3073\u306b\u9078\u629e\u80a2\u304c\u3067\u304d\u308b\u305f\u3081\u3001\u6307\u6570\u95a2\u6570\u7684\u306b\u30d1\u30bf\u30fc\u30f3\u304c\u5897\u5927\u3059\u308b\u3053\u3068\u306b\u306a\u308b\u3002\u3088\u3063\u3066\u3001\u5404\u70b9\u304b\u3089\u30b9\u30bf\u30fc\u30c8\u3057\u3066\u3082\u3068\u306e\u70b9\u306b\u623b\u308b\u3088\u3046\u306a\u7d4c\u8def\u304c\uff12\u3064\u4ee5\u4e0a\u306a\u3044\u304b\u3069\u3046\u304b\u3092\u63a2\u7d22\u3059\u308c\u3070\u3088\u3044\u3002 \u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3067\u306f\u3001\u8907\u6570\u30eb\u30fc\u30d7\u304c\u5b58\u5728\u3059\u308b\u3069\u3046\u304b\u306e\u5224\u5b9a\u306b\u30d9\u30eb\u30de\u30f3\u30d5\u30a9\u30fc\u30c9\u98a8\u306e\u52d5\u7684\u8a08\u753b\u6cd5\u3092\u4f7f\u3063\u3066\u3044\u308b\u3002dp[i] := i \u306b\u3044\u308b\u7d4c\u8def\u306e\u30d1\u30bf\u30fc\u30f3\u6570\u305f\u3060\u3057\u3001\u305d\u306e\u307e\u307e\u9069\u7528\u3059\u308b\u3068\u30eb\u30fc\u30d7\uff12\u5468\u76ee\u4ee5\u964d\u306e\u7d4c\u8def\u3082\u91cd\u8907\u3057\u3066\u6570\u3048\u2026","author_url":"https://blog.hatena.ne.jp/EmK/","blog_url":"https://emkcsharp.hatenablog.com/","width":"100%","blog_title":"C\u266f\u306e\u52c9\u5f37","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Femkcsharp.hatenablog.com%2Fentry%2FSRM608%2FBigOEasy\" title=\"TopCoder SRM608: BigOEasy - C\u266f\u306e\u52c9\u5f37\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","published":"2014-02-15 10:50:32","height":"190"}