Borderou de evaluare (job #2887604)
Utilizator | Data | 9 aprilie 2022 20:59:45 | |
---|---|---|---|
Problema | Alibaba | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:8:1: error: expected ',' or ';' before 'stack'
8 | stack<char> cifre;
| ^~~~~
main.cpp: In function 'int main()':
main.cpp:15:16: error: 'cifre' was not declared in this scope
15 | while (cifre.empty() == 0 and cifre.top() < numar[index] and k > 0) {
| ^~~~~
main.cpp:19:9: error: 'cifre' was not declared in this scope
19 | cifre.push(numar[index]);
| ^~~~~
main.cpp:21:12: error: 'cifre' was not declared in this scope
21 | while (cifre.empty() == 0 and k > 0) {
| ^~~~~
main.cpp:25:12: error: 'cifre' was not declared in this scope
25 | while (cifre.empty() == 0) {
| ^~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !