Borderou de evaluare (job #2634988)
Utilizator | Data | 12 iulie 2020 20:29:15 | |
---|---|---|---|
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:9:18: error: 'INT_MAX' was not declared in this scope
#define INFINITY INT_MAX
^
main.cpp:29:24: note: in expansion of macro 'INFINITY'
vector<int> dist(n,INFINITY);
^~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !