{"image_url":null,"blog_title":"\u5869\u898b\u5468\u5b50\u306e\u5f92\u7136\u65e5\u8a18","provider_url":"https://hatena.blog","height":"190","published":"2020-08-08 20:59:04","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftooh.hatenadiary.jp%2Fentry%2F2020%2F08%2F08%2F205904\" title=\"Python\u306e\u6df1\u3055\u512a\u5148\u63a2\u7d22\u3067\u5931\u6557\u3057\u305f\u8a71 - \u5869\u898b\u5468\u5b50\u306e\u5f92\u7136\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_url":"https://blog.hatena.ne.jp/saguh/","blog_url":"https://tooh.hatenadiary.jp/","width":"100%","provider_name":"Hatena Blog","author_name":"saguh","categories":["\u7cbe\u9032(python3)"],"description":"\u30cf\u30df\u30eb\u30c8\u30f3\u9589\u8def\u304c\u5b58\u5728\u3059\u308b\u304b\u5224\u5b9a\u3059\u308b\u554f\u984c\u3002\u5165\u529b\u306f\u3001 n m x_1 y_1 x_2 y_2 ... ... x_m y_m \u3067\u4e0e\u3048\u3089\u308c\u308b\u3002\uff08n\u306f\u9802\u70b9\u6570\u3001m\u306f\u8fba\u306e\u6570\u3002x_i,y_i\u306f\u9802\u70b9x_i\u3068y_i\u3092\u7d50\u3076\u8fba\u304c\u5b58\u5728\u3059\u308b\u3053\u3068\u3092\u8868\u3059\uff09 #\u5408\u3063\u3066\u308b\u30b3\u30fc\u30c9(\u3057\u304b\u3057\u3053\u308c\u3082n=15\u304f\u3089\u3044\u3060\u3068\u843d\u3061\u308b\u306d......) n,m = map(int,input().split()) edge = [] for i in range(n): T = [0]*n edge.append(T) for i in range(m): x,y = map(int,input().split()) edge[x][y] = 1 \u2026","url":"https://tooh.hatenadiary.jp/entry/2020/08/08/205904","version":"1.0","title":"Python\u306e\u6df1\u3055\u512a\u5148\u63a2\u7d22\u3067\u5931\u6557\u3057\u305f\u8a71","type":"rich"}