Borderou de evaluare (job #3337024)
| Utilizator | Data | 26 ianuarie 2026 20:48:47 | |
|---|---|---|---|
| Problema | Berarii2 | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp:11:9: error: 'vector' was not declared in this scope
11 | vector <vector <int>> L; //lista muchii
| ^~~~~~
main.cpp:3:1: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
2 | #include <fstream>
+++ |+#include <vector>
3 |
main.cpp:11:9: error: 'vector' was not declared in this scope
11 | vector <vector <int>> L; //lista muchii
| ^~~~~~
main.cpp:11:9: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
main.cpp:11:9: error: 'vector' was not declared in this scope
main.cpp:11:9: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
main.cpp:11:9: error: 'vector' was not declared in this scope
main.cpp:11:9: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
main.cpp:11:9: error: 'vector' was not declared in this scope
main.cpp:11:9: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
main.cpp:11:9: error: 'vector' was not declared in this scope
main.cpp:11:9: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
main.cpp:11:9: error: 'vector' was not declared in this scope
main.cpp:11:9: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
main.cpp:11:9: error: 'vector' was not declared in this scope
main.cpp:11:9: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
main.cpp:11:9: error: 'vector' was not declared in this scope
main.cpp:11:9: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
main.cpp:11:1: error: 'vector' does not name a type
11 | vector <vector <int>> L; //lista muchii
| ^~~~~~
main.cpp:12:1: error: 'vector' does not name a type
12 | vector <int> viz;
| ^~~~~~
main.cpp: In function 'void Citire()':
main.cpp:17:5: error: 'L' was not declared in this scope
17 | L.resize(n+1);
| ^
main.cpp:18:5: error: 'viz' was not declared in this scope
18 | viz.resize(n+1);
| ^~~
main.cpp: In function 'void DFS(int)':
main.cpp:32:5: error: 'viz' was not declared in this scope
32 | viz[x]=1;
| ^~~
main.cpp:33:20: error: 'L' was not declared in this scope
33 | for(auto vecin:L[x])
| ^
main.cpp: In function 'void Berarii()':
main.cpp:54:5: error: 'queue' was not declared in this scope
54 | queue<int> C;
| ^~~~~
main.cpp:3:1: note: 'std::queue' is defined in header '<queue>'; did you forget to '#include <queue>'?
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
