Borderou de evaluare (job #2723885)
Utilizator | Data | 15 martie 2021 19:03:19 | |
---|---|---|---|
Problema | Algoritmul Bellman-Ford | 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:21: error: 'INT_MAX' was not declared in this scope
answer[i] = INT_MAX;
^~~~~~~
main.cpp:38:30: error: 'INT_MAX' was not declared in this scope
if (answer[x] != INT_MAX && answer[x] + cost < answer[y])
^~~~~~~
main.cpp:48:26: error: 'INT_MAX' was not declared in this scope
if (answer[x] != INT_MAX && answer[x] + cost < answer[y]) {
^~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !