Borderou de evaluare (job #3269128)
Utilizator | Data | 18 ianuarie 2025 11:19:55 | |
---|---|---|---|
Problema | Componente tare conexe | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:8:1: error: 'vector' does not name a type
8 | vector<int> adj[100005];
| ^~~~~~
main.cpp:10:8: error: 'vector' was not declared in this scope
10 | vector<vector<int>> compf;
| ^~~~~~
main.cpp:4:1: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
3 | #include <stack>
+++ |+#include <vector>
4 | using namespace std;
main.cpp:10:8: error: 'vector' was not declared in this scope
10 | vector<vector<int>> compf;
| ^~~~~~
main.cpp:10:8: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
main.cpp:10:8: error: 'vector' was not declared in this scope
main.cpp:10:8: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
main.cpp:10:8: error: 'vector' was not declared in this scope
main.cpp:10:8: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
main.cpp:10:8: error: 'vector' was not declared in this scope
main.cpp:10:8: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
main.cpp:10:8: error: 'vector' was not declared in this scope
main.cpp:10:8: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
main.cpp:10:8: error: 'vector' was not declared in this scope
main.cpp:10:8: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
main.cpp:10:8: error: 'vector' was not declared in this scope
main.cpp:10:8: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
main.cpp:10:8: error: 'vector' was not declared in this scope
main.cpp:10:8: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
main.cpp:10:1: error: 'vector' does not name a type
10 | vector<vector<int>> compf;
| ^~~~~~
main.cpp: In function 'void tarjan(int)':
main.cpp:18:24: error: 'adj' was not declared in this scope
18 | for (auto el : adj[node]) {
| ^~~
main.cpp:28:17: error: 'vector' was not declared in this scope
28 | vector<int> comp;
| ^~~~~~
main.cpp:28:17: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
main.cpp:28:24: error: expected primary-expression before 'int'
28 | vector<int> comp;
| ^~~
main.cpp:34:25: error: 'comp' was not declared in this scope
34 | comp.push_back(crt);
| ^~~~
main.cpp:36:17: error: 'compf' was not declared in this scope
36 | compf.push_back(comp);
| ^~~~~
main.cpp:36:33: error: 'comp' was not declared in this scope
36 | compf.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 !