Borderou de evaluare (job #1699599)
Utilizator | Data | 7 mai 2016 21:36:27 | |
---|---|---|---|
Problema | Stramosi | Status | done |
Runda | Arhiva de probleme | Compilator | java | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
Main.java:87: error: no suitable constructor found for ArrayList(List<Object>)
cache = new ArrayList<ArrayList<Integer>>(Collections.nCopies(n + 1, null));
^
constructor ArrayList.ArrayList(Collection<? extends ArrayList<Integer>>) is not applicable
(actual argument List<Object> cannot be converted to Collection<? extends ArrayList<Integer>> by method invocation conversion)
constructor ArrayList.ArrayList() is not applicable
(actual and formal argument lists differ in length)
constructor ArrayList.ArrayList(int) is not applicable
(actual argument List<Object> cannot be converted to int by method invocation conversion)
1 error
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !