Borderou de evaluare (job #2697032)
Utilizator | Data | 17 ianuarie 2021 15:42:04 | |
---|---|---|---|
Problema | Cuplaj maxim de cost minim | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int bellmanford()':
main.cpp:20:23: error: 'INT_MAX' was not declared in this scope
distanta[i] = INT_MAX;
^~~~~~~
main.cpp:33:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j <G[x].size(); j++)
~~^~~~~~~~~~~~
main.cpp:52:22: error: 'INT_MAX' was not declared in this scope
if(distanta[D] < INT_MAX)
^~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !