./Main.java:69: error: incompatible types: cannot infer type arguments for HashSet<>
blNum++;blockHash.put(hash,blNum);pointList.put(hash,new HashSet<>());
^
reason: no instance(s) of type variable(s) E exist so that HashSet<E> conforms to List<Integer>
where E is a type-variable:
E extends Object declared in class HashSet
./Main.java:75: error: incompatible types: cannot infer type arguments for ArrayList<>
reach.add(new ArrayList<>());
^
reason: no instance(s) of type variable(s) E exist so that ArrayList<E> conforms to Set<Integer>
where E is a type-variable:
E extends Object declared in class ArrayList
./Main.java:111: error: incompatible types: List<Set<Integer>> cannot be converted to List<List<Integer>>
if (check(reach,blNum)){
^
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
3 errors
[Hydro](https://hydro.ac)提供评测服务