Borderou de evaluare (job #2578583)
Utilizator | Data | 11 martie 2020 12:04:33 | |
---|---|---|---|
Problema | Arh | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:8:1: error: 'deque' does not name a type
deque <int> aux,stiva;
^~~~~
main.cpp: In function 'int main()':
main.cpp:30:13: error: 'stiva' was not declared in this scope
stiva.push_back(-nr);
^~~~~
main.cpp:35:20: error: 'aux' was not declared in this scope
while(!aux.empty())
^~~
main.cpp:37:26: error: 'stiva' was not declared in this scope
while(litera(stiva.back())){
^~~~~
main.cpp:38:17: error: 'aux' was not declared in this scope
aux.push_front(stiva.back());
^~~
main.cpp:41:21: error: 'stiva' was not declared in this scope
int nr=-stiva.back();
^~~~~
main.cpp:44:31: error: 'aux' was not declared in this scope
for(int k=0;k<aux.size();k++)
^~~
main.cpp:50:17: error: 'stiva' was not declared in this scope
stiva.push_back(-3000);
^~~~~
main.cpp:53:18: error: 'stiva' was not declared in this scope
else stiva.push_back(-4000);
^~~~~
main.cpp:57:20: error: 'aux' was not declared in this scope
while(!aux.empty())
^~~
main.cpp:59:26: error: 'stiva' was not declared in this scope
while(litera(stiva.back())){
^~~~~
main.cpp:60:17: error: 'aux' was not declared in this scope
aux.push_front(stiva.back());
^~~
main.cpp:63:21: error: 'stiva' was not declared in this scope
int par=stiva.back();
^~~~~
main.cpp:65:27: error: 'aux' was not declared in this scope
for(int j=0;j<aux.size();j++)
^~~
main.cpp:68:27: error: 'aux' was not declared in this scope
for(int j=aux.size()-1;j>=0;j--)
^~~
main.cpp:71:27: error: 'aux' was not declared in this scope
for(int j=aux.size()-2;j>=0;j--)
^~~
main.cpp:75:13: error: 'stiva' was not declared in this scope
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !