Borderou de evaluare (job #2384944)
Utilizator | Data | 21 martie 2019 12:39:46 | |
---|---|---|---|
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 main()':
main.cpp:29:17: error: 'INT_MAX' was not declared in this scope
dist[i]=INT_MAX;
^~~~~~~
main.cpp:34:16: error: 'INT_MAX' was not declared in this scope
{int minim=INT_MAX;
^~~~~~~
main.cpp:55:21: error: 'INT_MAX' was not declared in this scope
if(dist[i]==INT_MAX) g<<0<<" ";
^~~~~~~
main.cpp:30:9: warning: unused variable 'ok' [-Wunused-variable]
int ok=0;
^~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !