Borderou de evaluare (job #2974633)
Utilizator | Data | 4 februarie 2023 12:08:08 | |
---|---|---|---|
Problema | Rotatii | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In constructor 'Node::Node()':
main.cpp:37:12: error: request for member 'back' in '((Node*)this)->Node::r', which is of pointer type 'Node*' (maybe you meant to use '->' ?)
37 | prio = r.back(), r.pop_back();
| ^~~~
main.cpp:37:22: error: request for member 'pop_back' in '((Node*)this)->Node::r', which is of pointer type 'Node*' (maybe you meant to use '->' ?)
37 | prio = r.back(), r.pop_back();
| ^~~~~~~~
main.cpp: In function 'Node* ins(Node*, int, int)':
main.cpp:82:6: warning: unused variable 'dim_a' [-Wunused-variable]
82 | int dim_a = (!a) ? (0) : (a->c);
| ^~~~~
main.cpp: In function 'Node* del(Node*, int)':
main.cpp:100:6: warning: unused variable 'dim_a' [-Wunused-variable]
100 | int dim_a = (!a) ? (0) : (a->c);
| ^~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !