hiho week 300 register

Ended

Participants:30

Verdict:Accepted
Score:100 / 100
Submitted:2020-03-29 12:10:31

Lang:Java

Edit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import java.util.Scanner;
/**
 * Main
 */
public class Main {
    /**
     * root
     *
     * dir1 dir1_slib1 dir1_slib2
     *
     * dir2
     *
     * dir3
     *
     * ...
     *
     * @param args
     */
    private static final int STATE_SUB  = 1;
    private static final int STATE_SLIB = 2;
    private static long count = 0;
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        Node root = new Node("root");
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX