hiho week 306 register

Ended

Participants:28

Verdict:Accepted
Score:100 / 100
Submitted:2020-05-10 13:08:35

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.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Arrays;
import java.util.Comparator;
import java.util.StringTokenizer;
import java.util.TreeSet;
/**
 * @author 
 *
 * 2020510
 */
public class Main {
    static BufferedReader reader = new BufferedReader(
            new InputStreamReader(System.in));
    static StringTokenizer tokenizer = new StringTokenizer("");
    static int nextInt() throws Exception {
        while (! tokenizer.hasMoreTokens())
            tokenizer = new StringTokenizer(reader.readLine());
        return Integer.parseInt(tokenizer.nextToken());
    }
    static int nm;
    static class E {
        int stwidxy;
        public E(int sint tint wint id) { this.s = sthis.t = tthis.w = wthis.id = idx = y = 0; }
    }
    static E[] e;
    static int[] set// 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX