Borderou de evaluare (job #1705583)
Utilizator | Data | 20 mai 2016 20:10:59 | |
---|---|---|---|
Problema | Catun | Status | done |
Runda | Arhiva de probleme | Compilator | java | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
Main.java:38: error: no suitable method found for add(ArrayList<Object>)
adj.add(new ArrayList<>());
^
method ArrayList.add(int,ArrayList<Pair>) is not applicable
(actual and formal argument lists differ in length)
method ArrayList.add(ArrayList<Pair>) is not applicable
(actual argument ArrayList<Object> cannot be converted to ArrayList<Pair> by method invocation conversion)
method AbstractList.add(int,ArrayList<Pair>) is not applicable
(actual and formal argument lists differ in length)
method AbstractList.add(ArrayList<Pair>) is not applicable
(actual argument ArrayList<Object> cannot be converted to ArrayList<Pair> by method invocation conversion)
method AbstractCollection.add(ArrayList<Pair>) is not applicable
(actual argument ArrayList<Object> cannot be converted to ArrayList<Pair> by method invocation conversion)
1 error
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !