Borderou de evaluare (job #2422929)
Utilizator | Data | 20 mai 2019 13:31:23 | |
---|---|---|---|
Problema | Catun | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void Dijsktra(std::vector<std::vector<std::pair<int, int> > >&, int)':
main.cpp:25:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < graph[top].size(); i++) {
~~^~~~~~~~~~~~~~~~~~~
main.cpp:31:10: error: 'frecv' was not declared in this scope
if (!frecv[graph[top][i].first] && curr_dist[graph[top][i].first] < dist[graph[top][i].first]) {
^~~~~
main.cpp:33:6: error: 'result' was not declared in this scope
result[graph[top][i].first] = source;
^~~~~~
main.cpp: In function 'int main()':
main.cpp:68:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 1; i < result.size(); i++) {
~~^~~~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !