Borderou de evaluare (job #2644566)
Utilizator | Data | 24 august 2020 22:19:06 | |
---|---|---|---|
Problema | Cel mai lung subsir comun | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main(int, char**)':
main.cpp:29:24: error: no matching function for call to 'std::queue<int>::pop(__gnu_cxx::__alloc_traits<std::allocator<int> >::value_type&)'
q.pop(q.front());
^
In file included from /usr/include/c++/6/queue:64:0,
from main.cpp:2:
/usr/include/c++/6/bits/stl_queue.h:268:7: note: candidate: void std::queue<_Tp, _Sequence>::pop() [with _Tp = int; _Sequence = std::deque<int, std::allocator<int> >]
pop()
^~~
/usr/include/c++/6/bits/stl_queue.h:268:7: note: candidate expects 0 arguments, 1 provided
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !