Borderou de evaluare (job #1704382)
Utilizator | Data | 18 mai 2016 18:30:17 | |
---|---|---|---|
Problema | BFS - Parcurgere in latime | Status | done |
Runda | Arhiva educationala | Compilator | java | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
Main.java:14: error: class Graph is public, should be declared in a file named Graph.java
public class Graph {
^
Main.java:71: error: no suitable method found for add(ArrayList<Object>)
g.edges.add(new ArrayList<>());
^
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 ArrayList<Object> cannot be converted to List<Integer> by method invocation conversion)
method Collection.add(List<Integer>) is not applicable
(actual argument ArrayList<Object> cannot be converted to List<Integer> by method invocation conversion)
2 errors
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !