Borderou de evaluare (job #1647035)

Utilizator RaTonAndrei Raton RaTon Data 10 martie 2016 18:46:00
Problema Algoritmul Bellman-Ford Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:6:13: error: ‘INT_MAX’ was not declared in this scope #define inf INT_MAX ^ user.cpp:24:16: note: in expansion of macro ‘inf’ d[i] = inf; ^ user.cpp:29:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for( k = 0; k < A[j].size(); k++ ) ^ user.cpp:6:13: error: ‘INT_MAX’ was not declared in this scope #define inf INT_MAX ^ user.cpp:30:29: note: in expansion of macro ‘inf’ if( d[j] != inf && d[A[j][k]] > d[j] + C[j][k] ) ^ user.cpp:34:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for( k = 0; k < A[j].size(); k++ ) ^ user.cpp:6:13: error: ‘INT_MAX’ was not declared in this scope #define inf INT_MAX ^ user.cpp:35:29: note: in expansion of macro ‘inf’ if( d[j] != inf && d[A[j][k]] > d[j] + C[j][k] ){ ^

Ceva nu functioneaza?