Borderou de evaluare (job #2260094)
Utilizator | Data | 14 octombrie 2018 14:07:53 | |
---|---|---|---|
Problema | Hashuri | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:40:6: error: 'h' does not name a type
}h
^
main.cpp: In instantiation of 'void Treap<T>::insert(T) [with T = int]':
main.cpp:259:33: required from here
main.cpp:151:43: error: 'class TreapNode<int>' has no member named 'get_value'
T current_val = current_node->get_value();
~~~~~~~~~~~~~~^~~~~~~~~
main.cpp: In instantiation of 'void Treap<T>::remove(T) [with T = int]':
main.cpp:262:33: required from here
main.cpp:205:37: error: 'class TreapNode<int>' has no member named 'get_value'
if (val < current_node->get_value()) {
~~~~~~~~~~~~~~^~~~~~~~~
main.cpp:208:42: error: 'class TreapNode<int>' has no member named 'get_value'
else if (val > current_node->get_value()){
~~~~~~~~~~~~~~^~~~~~~~~
main.cpp: In instantiation of 'std::shared_ptr<TreapNode<T> > Treap<T>::find(T) [with T = int]':
main.cpp:265:41: required from here
main.cpp:189:57: error: 'class TreapNode<int>' has no member named 'get_value'
while (current_node != nullptr && current_node->get_value() != val) {
~~~~~~~~~~~~~~^~~~~~~~~
main.cpp:190:38: error: 'class TreapNode<int>' has no member named 'get_value'
if (val <= current_node->get_value()) {
~~~~~~~~~~~~~~^~~~~~~~~
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !