{"image_url":null,"url":"https://wata-orz.hatenadiary.org/entry/20100910/1284108575","height":"190","blog_url":"https://wata-orz.hatenadiary.org/","blog_title":"\u3066\u304d\u3068\u30fc\u306a\u65e5\u8a18","author_name":"wata_orz","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/wata_orz/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwata-orz.hatenadiary.org%2Fentry%2F20100910%2F1284108575\" title=\"\u5168\u63a2\u7d22+\u4e8c\u5206\u63a2\u7d22 - \u3066\u304d\u3068\u30fc\u306a\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","width":"100%","title":"\u5168\u63a2\u7d22+\u4e8c\u5206\u63a2\u7d22","categories":["Algorithm"],"published":"2010-09-10 17:49:35","description":"\u524d\u56de\u306eSRM\u3067LayCurse\u3055\u3093\u306e900\u306e\u89e3\u6cd5\u3092\u898b\u3066\u601d\u3044\u51fa\u3057\u305f\u306e\u3067\u89e3\u8aac\u3002\u6b21\u306e\u3088\u3046\u306b\u3001\u4e8c\u5206\u63a2\u7d22\u306e\u4e2d\u3067\u5168\u63a2\u7d22\u3092\u3057\u3066\u3044\u308b\u3088\u3046\u306a\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u8003\u3048\u308b\u3002 int lb = 0, ub = INF; while (ub - lb > 1) { // \u4e8c\u5206\u63a2\u7d22 int mid = (lb + ub) / 2; boolean tmp = false; for (State s : allStates) { // \u5168\u63a2\u7d22 if (check(s, mid)) tmp = true; } if (tmp) ub = mid; else lb = mid; } return ub; \u3053\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001c\u2026","provider_url":"https://hatena.blog","version":"1.0"}