Borderou de evaluare (job #2587569)
Utilizator | Data | 23 martie 2020 00:15:10 | |
---|---|---|---|
Problema | Algoritmul lui Dijkstra | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In member function 'void Graph::Dijkstra(int)':
main.cpp:9:13: error: 'INT_MAX' was not declared in this scope
#define INF INT_MAX
^
main.cpp:73:45: note: in expansion of macro 'INF'
std::vector<int> distances(m_vertices + 1, INF);
^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !