{"type":"rich","blog_url":"https://mmxsrup.hatenablog.com/","width":"100%","author_name":"mmxsrup","categories":["yukicoder","\u30b0\u30e9\u30d5"],"title":"yukicoder No.17 2\u3064\u306e\u5730\u70b9\u306b\u6cca\u307e\u308a\u305f\u3044","provider_url":"https://hatena.blog","version":"1.0","blog_title":"srup\u306e\u30e1\u30e2\u5e33","height":"190","image_url":null,"author_url":"https://blog.hatena.ne.jp/mmxsrup/","description":"\u554f\u984c \u554f\u984c\u6982\u8981 \u7701\u7565 \u89e3\u6cd5 \u307e\u305a\u3001\u4efb\u610f\u306e\uff12\u70b9\u9593\u306e\u8ddd\u96e2\u306e\u6700\u5c0f\u5024\u3092\u6c42\u3081\u3066\u304a\u304f\u3002\u305d\u306e\u5f8c\u3001\u6ede\u5728\u3059\u308b\uff12\u70b9\u3092\u5168\u63a2\u7d22\u3067\u5168\u3066\u8abf\u3079\u308b\u3002 \u5168\u63a2\u7d22\u3067 dist[0][i] + dist[i][j] + dist[j][n - 1] + s[i] + s[j] \u306e\u6700\u5c0f\u5024\u3092\u6c42\u3081\u308c\u3070\u3044\u3044\u3002 \u30df\u30b9 \u7279\u306b\u306a\u3057\u3002 \u30b3\u30fc\u30c9 #include <iostream> #include <algorithm> #include <vector> using namespace std; #define rep(i,n) for(int i=0;i<(n);i++) const int MAX_N = 51, INF = 1e8; in\u2026","provider_name":"Hatena Blog","published":"2016-07-20 01:45:08","url":"https://mmxsrup.hatenablog.com/entry/2016/07/20/014508","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmmxsrup.hatenablog.com%2Fentry%2F2016%2F07%2F20%2F014508\" title=\"yukicoder No.17 2\u3064\u306e\u5730\u70b9\u306b\u6cca\u307e\u308a\u305f\u3044 - srup\u306e\u30e1\u30e2\u5e33\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}