Borderou de evaluare (job #1748819)

Utilizator AlexandruValeanuAlexandru Valeanu AlexandruValeanu Data 26 august 2016 22:32:25
Problema Componente biconexe Status done
Runda Arhiva educationala Compilator java | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: Main.java:221: error: no suitable method found for add(ArrayList<Object>) components.add(new ArrayList<>()); ^ method ArrayList.add(int,ArrayList<Integer>) is not applicable (actual and formal argument lists differ in length) method ArrayList.add(ArrayList<Integer>) is not applicable (actual argument ArrayList<Object> cannot be converted to ArrayList<Integer> by method invocation conversion) method AbstractList.add(int,ArrayList<Integer>) is not applicable (actual and formal argument lists differ in length) method AbstractList.add(ArrayList<Integer>) is not applicable (actual argument ArrayList<Object> cannot be converted to ArrayList<Integer> by method invocation conversion) method AbstractCollection.add(ArrayList<Integer>) is not applicable (actual argument ArrayList<Object> cannot be converted to ArrayList<Integer> by method invocation conversion) Main.java:264: error: cannot find symbol list.sort(new Comparator<Integer>() { ^ symbol: method sort(<anonymous Comparator<Integer>>) location: variable list of type ArrayList<Integer> 2 errors

Ceva nu functioneaza?