Borderou de evaluare (job #3174242)
Utilizator | Data | 24 noiembrie 2023 15:39:13 | |
---|---|---|---|
Problema | Nrpits | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:16:18: error: cannot convert 'std::stack<int>::empty' from type 'bool (std::stack<int>::)() const' to type 'bool'
16 | while(!s.empty && x > s.top())
| ^~~~~
main.cpp:16:18: error: in argument to unary !
16 | while(!s.empty && x > s.top())
| ~~^~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !