{"author_name":"a_kawashiro","height":"190","version":"1.0","title":"AOJ0117","image_url":null,"blog_url":"https://a-kawashiro.hatenablog.com/","provider_url":"https://hatena.blog","width":"100%","blog_title":"a_kawashiro\u306e\u30d6\u30ed\u30b0","description":"\u30ef\u30fc\u30b7\u30e3\u30eb\u30d5\u30ed\u30a4\u30c9\u3059\u308b\u3060\u3051\u3002 scanf(\"%d,%d,%d,%d\"......\u304c\u4fbf\u5229\u3060\u3063\u305f #include <algorithm> #include <cstdio> using namespace std; int dist[20][20]; int main() { int n,m; scanf(\"%d%d\",&n,&m); for(int i=0;i<n;i++) for(int j=0;j<n;j++) dist[i][j]=(i==j)?0:(1<<28); for(int i=0;i<m;i++) { int a,b,c,d; scanf(\"%d,%d,%d,%d\",&a,&b\u2026","type":"rich","author_url":"https://blog.hatena.ne.jp/a_kawashiro/","categories":[],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fa-kawashiro.hatenablog.com%2Fentry%2F20110329%2F1301364417\" title=\"AOJ0117 - a_kawashiro\u306e\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://a-kawashiro.hatenablog.com/entry/20110329/1301364417","provider_name":"Hatena Blog","published":"2011-03-29 11:06:57"}