{"author_name":"ntk01","blog_title":"ntk01\u2019s blog","height":"190","provider_url":"https://hatena.blog","categories":["Java","\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0"],"width":"100%","version":"1.0","image_url":null,"type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fntk01.hatenablog.com%2Fentry%2F2019%2F10%2F26%2F015512\" title=\"\u6df1\u3055\u512a\u5148\u63a2\u7d22(DFS)\u3092\u518d\u5e30\u3092\u7528\u3044\u3066\u5b9f\u88c5 - ntk01\u2019s blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://ntk01.hatenablog.com/","description":"\u6709\u5411\u30b0\u30e9\u30d5\u3092\u60f3\u5b9a\u3057\u305f\u6642\u306e\u3001DFS\u306e\u4f7f\u3044\u65b9\u3092\u6574\u7406\u3057\u307e\u3057\u305f\u3002 \u30ce\u30fc\u30c9\u6570n\u304c\u4e0e\u3048\u3089\u308c\u3001\u6b21\u306b\u5404\u30ce\u30fc\u30c9\u306e\u51fa\u6b21\u6570\u3068\u305d\u308c\u305e\u308c\u306e\u96a3\u63a5\u3059\u308b\u30ce\u30fc\u30c9\u3092k\u500b\u3001\u5165\u529b\u3055\u308c\u305f\u6642\u306b\u3001\u3069\u306e\u9806\u5e8f\u3067\u30a8\u30c3\u30b8\u3092\u8fbf\u3063\u3066\u3044\u304f\u304b\u3092\u51fa\u529b\u3059\u308b\u3088\u3046\u306b\u3057\u3066\u3044\u307e\u3059\u3002github.com import java.util.Scanner; public class DFS { static Scanner sc = new Scanner(System.in); static int n = sc.nextInt(); static int[][] edge = new int[n][n]; static boolean[] visited = new\u2026","author_url":"https://blog.hatena.ne.jp/ntk01/","url":"https://ntk01.hatenablog.com/entry/2019/10/26/015512","title":"\u6df1\u3055\u512a\u5148\u63a2\u7d22(DFS)\u3092\u518d\u5e30\u3092\u7528\u3044\u3066\u5b9f\u88c5","provider_name":"Hatena Blog","published":"2019-10-26 01:55:12"}