Borderou de evaluare (job #2498517)
Utilizator | Data | 23 noiembrie 2019 23:37:20 | |
---|---|---|---|
Problema | Heapuri | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In instantiation of 'void heap<_elem, compare_by>::sift_down(unsigned int) [with _elem = integer; compare_by = integer::do_compare]':
main.cpp:173:18: required from '_elem heap<_elem, compare_by>::pop() [with _elem = integer; compare_by = integer::do_compare]'
main.cpp:283:23: required from here
main.cpp:196:127: error: invalid use of member function 'unsigned int heap<_elem, compare_by>::right_son_pos(unsigned int) [with _elem = integer; compare_by = integer::do_compare]' (did you forget the '()' ?)
if (!comparator(aux, left_son(crawler)) && (!(comparator(right_son(crawler), left_son(crawler))) || right_son_pos == current_bound)) {
~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !