{"description":"\u554f\u984c TopCoder Statistics - Problem Statement \u8a33 Nlogonia\u5171\u548c\u56fd\u306b\u306fN\u500b\u306e\u90fd\u5e02\u304c\u3042\u308b\u3002\u7c21\u4fbf\u306e\u305f\u3081\u3001\u3053\u308c\u3089\u306e\u90fd\u5e02\u306b\u306f0\uff5eN-1\u306e\u756a\u53f7\u3092\u4ed8\u3051\u308b\u3002\uff12\u3064\u306e\u4efb\u610f\u306e\u90fd\u5e02i, j\u306b\u306f\u3001i\u304b\u3089j\u306b\u5411\u304b\u3046\u4e00\u65b9\u901a\u884c\u306e\u9053\u8def\u304c\u3042\u308b\u3002\u3042\u306a\u305f\u306fN\u500b\u306e\u6587\u5b57\u3067\u69cb\u6210\u3055\u308c\u308b\u6587\u5b57\u5217\u3092N\u500b\u6301\u3064\u3001String\u914d\u5217\u306edist\u304c\u4e0e\u3048\u3089\u308c\u308b\u3002dist[i][j]\u306fi\u304b\u3089j\u3078\u306e\u9053\u8def\u306e\u9577\u3055\u3092\u8868\u3057\u3066\u3044\u308b\u3002\u9053\u8def\u306e\u9577\u3055\u306f1\u304b\u30899\u307e\u3067\u3067\u3042\u308a\u3001\u305d\u308c\u306f'1'\u304b\u3089'9'\u307e\u3067\u306e\u6587\u5b57\u3067\u8868\u3055\u308c\u3066\u3044\u308b\u3002i\u3068j\u304c\u9055\u3046\u5024\u3060\u3068\u3057\u3066\u3001dist[i][j]\u306f'1'\u304b\u3089'9'\u306e\u3069\u308c\u304b\u3067\u3042\u308b\u3002dist[i][i]\u306f'0'\u3067\u3042\u308b\u3002di\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fekaing.hatenablog.com%2Fentry%2F2014%2F06%2F15%2F010915\" title=\"SRM622 Div1 Easy &quot;BuildingRoutes&quot; - WARush\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2014-06-15 01:09:15","author_name":"Ekaing","image_url":null,"version":"1.0","provider_name":"Hatena Blog","url":"https://ekaing.hatenablog.com/entry/2014/06/15/010915","title":"SRM622 Div1 Easy \"BuildingRoutes\"","blog_url":"https://ekaing.hatenablog.com/","blog_title":"WARush","categories":[],"author_url":"https://blog.hatena.ne.jp/Ekaing/","height":"190","type":"rich","width":"100%","provider_url":"https://hatena.blog"}