Borderou de evaluare (job #3295174)
Utilizator | Data | 2 mai 2025 22:56:02 | |
---|---|---|---|
Problema | Berarii2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'bool DFS(int, std::vector<std::vector<int> >, std::vector<bool>&, std::vector<bool>&)':
main.cpp:10:9: error: 'stack' was not declared in this scope
10 | stack<int> s;
| ^~~~~
main.cpp:6:1: note: 'std::stack' is defined in header '<stack>'; did you forget to '#include <stack>'?
5 | #include <queue>
+++ |+#include <stack>
6 |
main.cpp:10:15: error: expected primary-expression before 'int'
10 | stack<int> s;
| ^~~
main.cpp:11:5: error: 's' was not declared in this scope
11 | s.push(i);
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !