{"height":"190","author_name":"tanakaBox","blog_title":"\u30dc\u30af\u30ce\u30b9","provider_url":"https://hatena.blog","image_url":null,"blog_url":"https://boxnos.hatenablog.com/","width":"100%","url":"https://boxnos.hatenablog.com/entry/20080528/1211985114","provider_name":"Hatena Blog","published":"2008-05-28 23:31:54","author_url":"https://blog.hatena.ne.jp/tanakaBox/","title":" SRM 166 DIV2 Level One - \u4e09\u89d2\u5f62\u306e\u7d44\u5408\u305b","categories":["C++","TopCoder"],"version":"1.0","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fboxnos.hatenablog.com%2Fentry%2F20080528%2F1211985114\" title=\" SRM 166 DIV2 Level One - \u4e09\u89d2\u5f62\u306e\u7d44\u5408\u305b - \u30dc\u30af\u30ce\u30b9\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"\u3088\u3046\u3084\u304f\u307e\u3068\u3082\u306a\u554f\u984c\u3002\u307e\u3001\u4e00\u756a\u7c21\u5358\u306a\u30e9\u30a4\u30f3\u3092\u9032\u3093\u3067\u308b\u304b\u3089\u5f53\u7136\u304b\u3002 \u5de5\u5834\u3067\u50cd\u3044\u3066\u308b\u3093\u3060\u3051\u3069\u3001\u6bce\u65e5\u6bce\u65e5\u91d1\u5c5e\u306e\u30b9\u30af\u30e9\u30c3\u30d7\u304c\u51fa\u308b\u306e\u3067\u3001\u305d\u3044\u3064\u3092\u5229\u7528\u3057\u3066\u4e09\u89d2\u5f62\u306e\u30d4\u30af\u30c1\u30e3\u30fc\u30d5\u30ec\u30fc\u30e0\u3092\u4f5c\u308a\u305f\u3044\u3068\u601d\u3063\u3066\u308b(\u30bb\u30f3\u30b9\u306d\u3047\u306a)\u91d1\u5c5e\u7247\u306e\u9577\u3055\u304c\u4e0e\u3048\u3089\u308c\u308b\u306e\u3067\u3001\u4e09\u89d2\u5f62\u306e\u30d4\u30af\u30c1\u30e3\u30fc\u30d5\u30ec\u30fc\u30e0\u3092\u4f5c\u308b\u3053\u3068\u304c\u53ef\u80fd\u306a\u7d44\u5408\u305b\u306e\u6570\u3092\u6c42\u3081\u308b\u3068\u3002{1,2,3,4,5}\u306a\u3089\u3001{2, 3, 4},{2, 4, 5},{3, 4, 5}\u306e3\u3064\u306e\u7d44\u5408\u305b\u304c\u53ef\u80fd\u30021 + 2 = 3\u306a\u306e\u3067\u3001\u4e09\u89d2\u5f62\u306b\u306f\u306a\u3089\u306a\u3044\u30021 + 2 \u7d44\u5408\u305b\u304c\u3067\u3066\u304d\u305f\u3002 #include <vector> #include <algorithm> using namespace st\u2026"}