Borderou de evaluare (job #2759969)
Utilizator | Data | 21 iunie 2021 18:53:47 | |
---|---|---|---|
Problema | Parantezare | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void solve()':
main.cpp:30:21: error: no matching function for call to 'std::stack<int>::pop(int&)'
st.pop(i);
^
In file included from /usr/include/c++/6/stack:61:0,
from /usr/include/x86_64-linux-gnu/c++/6/bits/stdc++.h:89,
from main.cpp:1:
/usr/include/c++/6/bits/stl_stack.h:244:7: note: candidate: void std::stack<_Tp, _Sequence>::pop() [with _Tp = int; _Sequence = std::deque<int, std::allocator<int> >]
pop()
^~~
/usr/include/c++/6/bits/stl_stack.h:244: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 !