Borderou de evaluare (job #2422748)
| Utilizator | Data | 19 mai 2019 20:44:10 | |
|---|---|---|---|
| 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 'int main()':
main.cpp:26:30: error: 'SHRT_MAX' was not declared in this scope
dist[i][j] = SHRT_MAX;
^~~~~~~~
main.cpp:33:73: error: 'SHRT_MAX' was not declared in this scope
if(dist[i][j] > dist[i][k] + dist[k][j] && dist[i][k]!= SHRT_MAX && dist[k][j]!= SHRT_MAX && i!= j)
^~~~~~~~
main.cpp:43:30: error: 'SHRT_MAX' was not declared in this scope
if(dist[i][j] == SHRT_MAX)
^~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
