Borderou de evaluare (job #1272162)
Utilizator | Data | 22 noiembrie 2014 13:45:01 | |
---|---|---|---|
Problema | TDeque | Status | done |
Runda | FMI No Stress 5 | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:18:5: error: ‘stack’ is not a member of ‘std’
std::stack<int> mystack;
^
user.cpp:18:16: error: expected primary-expression before ‘int’
std::stack<int> mystack;
^
user.cpp:18:16: error: expected ‘;’ before ‘int’
user.cpp:29:17: error: ‘mystack’ was not declared in this scope
mystack.push(a);
^
user.cpp:37:20: error: ‘mystack’ was not declared in this scope
while(!mystack.empty()){
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !