Borderou de evaluare (job #1624262)

Utilizator paunmatei7FMI Paun Matei paunmatei7 Data 2 martie 2016 09:46:52
Problema Zmeu2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘void dijkstra()’: user.cpp:47:20: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(Viz[Node] == 0) ^ user.cpp:48:21: warning: array subscript has type ‘char’ [-Wchar-subscripts] Viz[Node] = 1; ^ user.cpp:54:65: warning: array subscript has type ‘char’ [-Wchar-subscripts] for(vector < short int > :: iterator it = v[Node].begin(); it != v[Node].end() && ok == 0; ++it) ^ user.cpp:54:88: warning: array subscript has type ‘char’ [-Wchar-subscripts] for(vector < short int > :: iterator it = v[Node].begin(); it != v[Node].end() && ok == 0; ++it) ^ user.cpp:58:33: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(Dist[Node] + d[i] < Dist[i] && Cap + Capete[i] <= n){ ^ user.cpp:59:33: warning: array subscript has type ‘char’ [-Wchar-subscripts] Viz[Node] = 0; ^ user.cpp:60:44: warning: array subscript has type ‘char’ [-Wchar-subscripts] Dist[i] = Dist[Node] + d[i]; ^ user.cpp:44:19: warning: unused variable ‘Cost’ [-Wunused-variable] short int Cost = q.top().x; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms428kbIncorect0
20ms428kbOK10
38ms548kbKilled by signal 11(SIGSEGV).0
40ms408kbKilled by signal 11(SIGSEGV).0
58ms580kbOK10
60ms440kbIncorect0
70ms448kbIncorect0
80ms436kbIncorect0
90ms416kbKilled by signal 11(SIGSEGV).0
1012ms616kbKilled by signal 11(SIGSEGV).0
Punctaj total20

Ceva nu functioneaza?