• + 0 comments
    HashSet<String> hs = new HashSet<>();
    for (int i = 0; i < t; i++) {
        hs.add(pair_left[i]+","+pair_right[i]);
        System.out.println(hs.size());
    }