Borderou de evaluare (job #1432534)

Utilizator Urziceanu_Vlad_324ccUrziceanu Vlad Urziceanu_Vlad_324cc Data 9 mai 2015 12:19:21
Problema Cypher Status done
Runda test_practic_pa_1 Compilator java | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: Main.java:54: error: no suitable constructor found for PriorityQueue(<anonymous Comparator<Integer>>) sol = new PriorityQueue<Integer>(new Comparator<Integer>() { ^ constructor PriorityQueue.PriorityQueue(SortedSet<? extends Integer>) is not applicable (actual argument <anonymous Comparator<Integer>> cannot be converted to SortedSet<? extends Integer> by method invocation conversion) constructor PriorityQueue.PriorityQueue(PriorityQueue<? extends Integer>) is not applicable (actual argument <anonymous Comparator<Integer>> cannot be converted to PriorityQueue<? extends Integer> by method invocation conversion) constructor PriorityQueue.PriorityQueue(Collection<? extends Integer>) is not applicable (actual argument <anonymous Comparator<Integer>> cannot be converted to Collection<? extends Integer> by method invocation conversion) constructor PriorityQueue.PriorityQueue(int,Comparator<? super Integer>) is not applicable (actual and formal argument lists differ in length) constructor PriorityQueue.PriorityQueue(int) is not applicable (actual argument <anonymous Comparator<Integer>> cannot be converted to int by method invocation conversion) constructor PriorityQueue.PriorityQueue() is not applicable (actual and formal argument lists differ in length) 1 error

Ceva nu functioneaza?