Borderou de evaluare (job #2887223)
Utilizator | Data | 9 aprilie 2022 00:36:38 | |
---|---|---|---|
Problema | Queue | Status | done |
Runda | Teme Pregatire ACM Unibuc 2014, Anul I | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In member function 'void queue::push_back(int)':
main.cpp:19:4: error: 'out' was not declared in this scope
19 | out << "pop(1) push(2," << st1.top() << ") ";
| ^~~
main.cpp:22:3: error: 'out' was not declared in this scope
22 | out << "read(" << x << ") ";
| ^~~
main.cpp: In member function 'int queue::pop_front()':
main.cpp:34:3: error: 'out' was not declared in this scope
34 | out << "pop(1) write(" << x << ") ";
| ^~~
main.cpp: In function 'int main()':
main.cpp:44:2: error: 'in' was not declared in this scope; did you mean 'n'?
44 | in >> n; in.get();
| ^~
| n
main.cpp:52:4: error: 'out' was not declared in this scope
52 | out << cnt << ": ";
| ^~~
main.cpp:57:4: error: 'out' was not declared in this scope
57 | out << cnt << ": ";
| ^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !