Borderou de evaluare (job #1474743)

Utilizator vcalinCalin Velea vcalin Data 22 august 2015 19:43:50
Problema Algoritmul lui Dijkstra Status done
Runda Arhiva educationala Compilator java | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: Main.java:7: error: class dijkstra is public, should be declared in a file named dijkstra.java public class dijkstra { ^ Main.java:53: error: no suitable method found for add(ArrayList<Object>) graph.add(new ArrayList<>()); ^ method ArrayList.add(int,ArrayList<dijkstra.Node>) is not applicable (actual and formal argument lists differ in length) method ArrayList.add(ArrayList<dijkstra.Node>) is not applicable (actual argument ArrayList<Object> cannot be converted to ArrayList<dijkstra.Node> by method invocation conversion) method AbstractList.add(int,ArrayList<dijkstra.Node>) is not applicable (actual and formal argument lists differ in length) method AbstractList.add(ArrayList<dijkstra.Node>) is not applicable (actual argument ArrayList<Object> cannot be converted to ArrayList<dijkstra.Node> by method invocation conversion) method AbstractCollection.add(ArrayList<dijkstra.Node>) is not applicable (actual argument ArrayList<Object> cannot be converted to ArrayList<dijkstra.Node> by method invocation conversion) 2 errors

Ceva nu functioneaza?