Borderou de evaluare (job #3370909)
| Utilizator | Data | 27 octombrie 2026 19:29:55 | |
|---|---|---|---|
| Problema | Grarb | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void dfs(int)':
main.cpp:18:10: error: 'stack' is not a member of 'std'
18 | std::stack<int> st;
| ^~~~~
main.cpp:5:1: note: 'std::stack' is defined in header '<stack>'; did you forget to '#include <stack>'?
4 | #include <fstream>
+++ |+#include <stack>
5 | //DacÄ graful nostru are \(C\) componente conexe:
main.cpp:18:16: error: expected primary-expression before 'int'
18 | std::stack<int> st;
| ^~~
main.cpp:19:5: error: 'st' was not declared in this scope; did you mean 'std'?
19 | st.push(start);
| ^~
| std
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
