Borderou de evaluare (job #1705892)

Utilizator TheDeathEne Bogdan Adrian TheDeath Data 21 mai 2016 01:45:50
Problema Algoritmul lui Dijkstra Status done
Runda Arhiva educationala Compilator java | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: Main.java:141: error: no suitable method found for add(ArrayList<Object>) edges.add(new ArrayList<>()); ^ method List.add(int,List<Pair<Integer,Integer>>) is not applicable (actual and formal argument lists differ in length) method List.add(List<Pair<Integer,Integer>>) is not applicable (actual argument ArrayList<Object> cannot be converted to List<Pair<Integer,Integer>> by method invocation conversion) method Collection.add(List<Pair<Integer,Integer>>) is not applicable (actual argument ArrayList<Object> cannot be converted to List<Pair<Integer,Integer>> by method invocation conversion) Main.java:145: error: no suitable method found for add(ArrayList<Object>) edges.add(new ArrayList<>()); ^ method List.add(int,List<Pair<Integer,Integer>>) is not applicable (actual and formal argument lists differ in length) method List.add(List<Pair<Integer,Integer>>) is not applicable (actual argument ArrayList<Object> cannot be converted to List<Pair<Integer,Integer>> by method invocation conversion) method Collection.add(List<Pair<Integer,Integer>>) is not applicable (actual argument ArrayList<Object> cannot be converted to List<Pair<Integer,Integer>> by method invocation conversion) 2 errors

Ceva nu functioneaza?