{"blog_url":"https://perogram.hateblo.jp/","author_name":"peroon","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fperogram.hateblo.jp%2Fentry%2F2019%2F10%2F24%2F202907\" title=\"\u30ef\u30fc\u30b7\u30e3\u30eb\u30d5\u30ed\u30a4\u30c9 \u53c2\u7167\u7528 (\u30af\u30e9\u30b9Ver\u306f\u6700\u4e0b) - perogram\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","url":"https://perogram.hateblo.jp/entry/2019/10/24/202907","categories":["\u30e9\u30a4\u30d6\u30e9\u30ea"],"author_url":"https://blog.hatena.ne.jp/peroon/","blog_title":"perogram","type":"rich","provider_url":"https://hatena.blog","width":"100%","published":"2019-10-24 20:29:07","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/p/peroon/20191024/20191024202901.png","provider_name":"Hatena Blog","version":"1.0","description":"// \u96a3\u63a5\u884c\u5217 ll d[100][100]; int main(){ // input ll N, M; cin >> N >> M; // \u96a3\u63a5\u884c\u5217\u306e\u521d\u671f\u5024\u3002inf\u306b\u3059\u308b rep(i, N){ rep(j, N){ if(i!=j) d[i][j] = inf; } } // \u8ddd\u96e2\u30c7\u30fc\u30bf\u5165\u529b rep(i, M){ ll a, b, c; cin >> a >> b >> c; a--; b--; d[a][b] = c; d[b][a] = c; } // \u30ef\u30fc\u30b7\u30e3\u30eb\u30d5\u30ed\u30a4\u30c9 rep(i, N){ // \u7d4c\u7531\u70b9 rep(j, N){ // \u59cb\u70b9 rep(k, N){ // \u7d42\u70b9 d[j][\u2026","title":"\u30ef\u30fc\u30b7\u30e3\u30eb\u30d5\u30ed\u30a4\u30c9 \u53c2\u7167\u7528 (\u30af\u30e9\u30b9Ver\u306f\u6700\u4e0b)"}