Borderou de evaluare (job #2390868)
Utilizator | Data | 28 martie 2019 13:44:45 | |
---|---|---|---|
Problema | Algoritmul lui Dijkstra | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int* dijkstra(int**, int)':
main.cpp:15:19: error: 'INT_MAX' was not declared in this scope
dist[i] = INT_MAX;
^~~~~~~
main.cpp:22:17: error: 'INT_MAX' was not declared in this scope
min_d = INT_MAX;
^~~~~~~
main.cpp:41:23: error: 'INT_MAX' was not declared in this scope
if(dist[i] == INT_MAX)
^~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !