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