Borderou de evaluare (job #1987342)

Utilizator patcasrarespatcas rares danut patcasrares Data 30 mai 2017 14:21:27
Problema Algoritmul lui Dijkstra Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘void ve()’: user.cpp:4:12: warning: overflow in implicit constant conversion [-Woverflow] # define M 100000000000 ^ user.cpp:13:12: note: in expansion of macro ‘M’ int mi=M,ne; ^ user.cpp:15:16: warning: overflow in implicit constant conversion [-Woverflow] dist[i]=M; ^ user.cpp:19:11: warning: overflow in implicit constant conversion [-Woverflow] mi=M; ^ user.cpp: In function ‘int main()’: user.cpp:38:21: warning: overflow in implicit constant conversion [-Woverflow] gr[i][j]=M; ^ user.cpp: In function ‘void ve()’: user.cpp:29:23: warning: ‘ne’ may be used uninitialized in this function [-Wmaybe-uninitialized] if(dist[ne]+gr[ne][i]<dist[i]) ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms420kbOK10
20ms420kbIncorect0
312ms5228kbIncorect0
420msDepăşitMemory limit exceeded.0
552msDepăşitMemory limit exceeded.0
652msDepăşitMemory limit exceeded.0
752msDepăşitMemory limit exceeded.0
852msDepăşitMemory limit exceeded.0
952msDepăşitMemory limit exceeded.0
1052msDepăşitMemory limit exceeded.0
Punctaj total10

Ceva nu functioneaza?