Borderou de evaluare (job #2890144)
Utilizator | Data | 14 aprilie 2022 18:04:08 | |
---|---|---|---|
Problema | Floyd-Warshall/Roy-Floyd | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void RoyFloyd(int)':
main.cpp:13:11: error: 'INT_MAX' was not declared in this scope
13 | a[i][j]=INT_MAX;
| ^~~~~~~
main.cpp:3:1: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
2 | #include <fstream>
+++ |+#include <climits>
3 | using namespace std;
main.cpp:17:15: error: 'INT_MAX' was not declared in this scope
17 | if(a[i][k]!=INT_MAX && a[k][j]!=INT_MAX)
| ^~~~~~~
main.cpp:17:15: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
main.cpp:23:16: error: 'INT_MAX' was not declared in this scope
23 | if(a[i][j]==INT_MAX)
| ^~~~~~~
main.cpp:23:16: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !