Borderou de evaluare (job #1509026)
Utilizator | Data | 23 octombrie 2015 13:50:20 | |
---|---|---|---|
Problema | Algoritmul lui Dijkstra | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:15:1: error: ‘vector’ does not name a type
vector<Nod> h[250002];
^
user.cpp: In function ‘void Citirea()’:
user.cpp:21:17: error: variable ‘std::ifstream fin’ has initializer but incomplete type
ifstream fin("dijkstra.in");
^
user.cpp:28:9: error: ‘h’ was not declared in this scope
h[x].push_back(w);
^
user.cpp: In function ‘void Dijkstra()’:
user.cpp:35:5: error: ‘priority_queue’ was not declared in this scope
priority_queue<Nod> q;
^
user.cpp:35:23: error: expected primary-expression before ‘>’ token
priority_queue<Nod> q;
^
user.cpp:35:25: error: ‘q’ was not declared in this scope
priority_queue<Nod> q;
^
user.cpp:36:11: warning: unused variable ‘w1’ [-Wunused-variable]
Nod w,w1;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !