Borderou de evaluare (job #3244522)
Utilizator | Data | 25 septembrie 2024 10:00:04 | |
---|---|---|---|
Problema | Editor | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:8:1: error: 'stack' does not name a type; did you mean 'obstack'?
8 | stack<int> patrate;
| ^~~~~
| obstack
main.cpp:9:1: error: 'stack' does not name a type; did you mean 'obstack'?
9 | stack<int> rotunde;
| ^~~~~
| obstack
main.cpp: In function 'int main()':
main.cpp:21:26: error: 'patrate' was not declared in this scope
21 | if( !patrate.empty() ) {
| ^~~~~~~
main.cpp:25:26: error: 'rotunde' was not declared in this scope
25 | if( !rotunde.empty()) {
| ^~~~~~~
main.cpp:30:17: error: 'patrate' was not declared in this scope
30 | patrate.push('[');
| ^~~~~~~
main.cpp:32:17: error: 'patrate' was not declared in this scope
32 | patrate.pop();
| ^~~~~~~
main.cpp:34:17: error: 'rotunde' was not declared in this scope
34 | rotunde.push('(');
| ^~~~~~~
main.cpp:36:17: error: 'rotunde' was not declared in this scope
36 | rotunde.pop();
| ^~~~~~~
main.cpp:40:14: error: 'patrate' was not declared in this scope
40 | if ( patrate.empty() && rotunde.empty() ) {
| ^~~~~~~
main.cpp:40:33: error: 'rotunde' was not declared in this scope
40 | if ( patrate.empty() && rotunde.empty() ) {
| ^~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !