Borderou de evaluare (job #1978630)
Utilizator | Data | 8 mai 2017 13:23:28 | |
---|---|---|---|
Problema | Algoritmul lui Dijkstra | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void Dijkstra(std::vector<muchie>*, int)’:
user.cpp:46:16: error: ‘INT_MAX’ was not declared in this scope
d[i] = INT_MAX;
^
user.cpp:64:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0; i<v[x].size(); i++)
^
user.cpp:77:17: error: ‘INT_MAX’ was not declared in this scope
int minim = INT_MAX,nod = 0;
^
user.cpp:77:9: warning: unused variable ‘minim’ [-Wunused-variable]
int minim = INT_MAX,nod = 0;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !