static void Main(string[] args)
    {
        GraphDemo graph_demo = new GraphDemo();

        graph_demo.TakeInput();
        graph_demo.ShowResult();
    }
Esempio n. 2
0
    private static void Main()
    {
        GraphDemo graph_demo = new GraphDemo();

        graph_demo.TakeInput();
        Console.WriteLine(graph_demo.IterRootNodes());
    }
    private static void Main()
    {
        GraphDemo demo = new GraphDemo();

        demo.TakeInput();
        Console.WriteLine(demo.GetVisitableNodeCount());
    }
Esempio n. 4
0
    private static void Main()
    {
        GraphDemo graph_demo = new GraphDemo();

        graph_demo.TakeInput();
        Console.WriteLine(graph_demo.fun_dp());
    }
Esempio n. 5
0
    public static void Main()
    {
        GraphDemo graph_demo = new GraphDemo();

        graph_demo.Build(TakeInput());
        Console.WriteLine(graph_demo.CountDFSForests() - 1);
    }
Esempio n. 6
0
        static void Main(string[] args)
        {
            GraphDemo demo = new GraphDemo();

            demo.CreateGraphDemo();
        }