static void Main(string[] args) { GraphDemo graph_demo = new GraphDemo(); graph_demo.TakeInput(); graph_demo.ShowResult(); }
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()); }
private static void Main() { GraphDemo graph_demo = new GraphDemo(); graph_demo.TakeInput(); Console.WriteLine(graph_demo.fun_dp()); }
public static void Main() { GraphDemo graph_demo = new GraphDemo(); graph_demo.Build(TakeInput()); Console.WriteLine(graph_demo.CountDFSForests() - 1); }
static void Main(string[] args) { GraphDemo demo = new GraphDemo(); demo.CreateGraphDemo(); }