Borderou de evaluare (job #3225601)
Utilizator | Data | 18 aprilie 2024 09:15:55 | |
---|---|---|---|
Problema | Componente biconexe | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:14:1: error: 'vector' does not name a type
14 | vector<int> g[NMAX + 1];
| ^~~~~~
main.cpp:16:8: error: 'vector' was not declared in this scope
16 | vector<vector<int>> comps;
| ^~~~~~
main.cpp:3:1: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
2 | #include <stack>
+++ |+#include <vector>
3 |
main.cpp:16:8: error: 'vector' was not declared in this scope
16 | vector<vector<int>> comps;
| ^~~~~~
main.cpp:16:8: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
main.cpp:16:8: error: 'vector' was not declared in this scope
main.cpp:16:8: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
main.cpp:16:8: error: 'vector' was not declared in this scope
main.cpp:16:8: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
main.cpp:16:8: error: 'vector' was not declared in this scope
main.cpp:16:8: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
main.cpp:16:8: error: 'vector' was not declared in this scope
main.cpp:16:8: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
main.cpp:16:8: error: 'vector' was not declared in this scope
main.cpp:16:8: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
main.cpp:16:8: error: 'vector' was not declared in this scope
main.cpp:16:8: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
main.cpp:16:8: error: 'vector' was not declared in this scope
main.cpp:16:8: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
main.cpp:16:1: error: 'vector' does not name a type
16 | vector<vector<int>> comps;
| ^~~~~~
main.cpp: In function 'void dfs(int, int)':
main.cpp:21:17: error: 'g' was not declared in this scope
21 | for (int &x : g[node])
| ^
main.cpp:27:11: error: 'vector' was not declared in this scope
27 | vector<int> comp;
| ^~~~~~
main.cpp:27:11: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
main.cpp:27:18: error: expected primary-expression before 'int'
27 | vector<int> comp;
| ^~~
main.cpp:29:13: error: 'comp' was not declared in this scope
29 | comp.push_back(st.top());
| ^~~~
main.cpp:32:11: error: 'comp' was not declared in this scope
32 | comp.push_back(x);
| ^~~~
main.cpp:35:11: error: 'comps' was not declared in this scope
35 | comps.push_back(comp);
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !