Borderou de evaluare (job #3179470)
Utilizator | Data | 3 decembrie 2023 18:22:34 | |
---|---|---|---|
Problema | Oracol | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:7:8: error: 'vector' was not declared in this scope
7 | vector<vector<int>> muchii;
| ^~~~~~
main.cpp:4:1: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
3 | #include<algorithm>
+++ |+#include <vector>
4 | using namespace std;
main.cpp:7:8: error: 'vector' was not declared in this scope
7 | vector<vector<int>> muchii;
| ^~~~~~
main.cpp:7:8: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
main.cpp:7:8: error: 'vector' was not declared in this scope
main.cpp:7:8: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
main.cpp:7:8: error: 'vector' was not declared in this scope
main.cpp:7:8: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
main.cpp:7:8: error: 'vector' was not declared in this scope
main.cpp:7:8: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
main.cpp:7:8: error: 'vector' was not declared in this scope
main.cpp:7:8: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
main.cpp:7:8: error: 'vector' was not declared in this scope
main.cpp:7:8: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
main.cpp:7:8: error: 'vector' was not declared in this scope
main.cpp:7:8: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
main.cpp:7:8: error: 'vector' was not declared in this scope
main.cpp:7:8: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
main.cpp:7:1: error: 'vector' does not name a type
7 | vector<vector<int>> muchii;
| ^~~~~~
main.cpp:9:18: error: 'vector' does not name a type
9 | bool sort1(const vector<int> a,const vector<int> b){
| ^~~~~~
main.cpp:9:24: error: expected ',' or '...' before '<' token
9 | bool sort1(const vector<int> a,const vector<int> b){
| ^
main.cpp: In function 'bool sort1(int)':
main.cpp:10:12: error: 'a' was not declared in this scope
10 | return a[2]<b[2];
| ^
main.cpp:10:17: error: 'b' was not declared in this scope
10 | return a[2]<b[2];
| ^
main.cpp: In function 'void kruskal()':
main.cpp:28:21: error: 'muchii' was not declared in this scope
28 | int px=find(muchii[i][0]);
| ^~~~~~
main.cpp: In function 'int main()':
main.cpp:47:16: error: 'vector' was not declared in this scope
47 | vector<int>temp;temp.push_back(i-1);temp.push_back(j);temp.push_back(z);
| ^~~~~~
main.cpp:47:16: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !