Borderou de evaluare (job #2088891)
Utilizator | Data | 15 decembrie 2017 23:43:33 | |
---|---|---|---|
Problema | Flux maxim | Status | done |
Runda | Arhiva educationala | Compilator | java | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
Main.java:35: error: no suitable method found for add(HashMap<Object,Object>)
adjList.add(new HashMap<>());
^
method List.add(int,Map<Integer,Integer>) is not applicable
(actual and formal argument lists differ in length)
method List.add(Map<Integer,Integer>) is not applicable
(actual argument HashMap<Object,Object> cannot be converted to Map<Integer,Integer> by method invocation conversion)
method Collection.add(Map<Integer,Integer>) is not applicable
(actual argument HashMap<Object,Object> cannot be converted to Map<Integer,Integer> by method invocation conversion)
1 error
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !