Borderou de evaluare (job #1106111)

Utilizator acomAndrei Comaneci acom Data 12 februarie 2014 15:32:25
Problema Path Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void dfs(char, int)’: user.cpp:15:10: warning: array subscript has type ‘char’ [-Wchar-subscripts] viz[s]=1; ^ user.cpp:16:19: warning: array subscript has type ‘char’ [-Wchar-subscripts] for (i=0;i<v[s].size();++i) ^ user.cpp:16:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i=0;i<v[s].size();++i) ^ user.cpp:18:21: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (!viz[v[s][i]]) ^ user.cpp:18:25: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (!viz[v[s][i]]) ^ user.cpp:19:20: warning: array subscript has type ‘char’ [-Wchar-subscripts] dfs(v[s][i],niv+1); ^ user.cpp:20:16: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (M[s]<M[v[s][i]]+1) ^ user.cpp:20:23: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (M[s]<M[v[s][i]]+1) ^ user.cpp:20:27: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (M[s]<M[v[s][i]]+1) ^ user.cpp:21:16: warning: array subscript has type ‘char’ [-Wchar-subscripts] M[s]=M[v[s][i]]+1, L[s]=L[v[s][i]]; ^ user.cpp:21:23: warning: array subscript has type ‘char’ [-Wchar-subscripts] M[s]=M[v[s][i]]+1, L[s]=L[v[s][i]]; ^ user.cpp:21:27: warning: array subscript has type ‘char’ [-Wchar-subscripts] M[s]=M[v[s][i]]+1, L[s]=L[v[s][i]]; ^ user.cpp:21:35: warning: array subscript has type ‘char’ [-Wchar-subscripts] M[s]=M[v[s][i]]+1, L[s]=L[v[s][i]]; ^ user.cpp:21:42: warning: array subscript has type ‘char’ [-Wchar-subscripts] M[s]=M[v[s][i]]+1, L[s]=L[v[s][i]]; ^ user.cpp:21:46: warning: array subscript has type ‘char’ [-Wchar-subscripts] M[s]=M[v[s][i]]+1, L[s]=L[v[s][i]]; ^ user.cpp:22:21: warning: array subscript has type ‘char’ [-Wchar-subscripts] else if (M[s]==M[v[s][i]]+1) L[s]+=L[v[s][i]]; ^ user.cpp:22:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms388kbOK10
20ms384kbOK10
30ms392kbOK10
44ms396kbOK10
54ms392kbOK10
60ms396kbOK10
74ms396kbOK10
84ms396kbOK10
94ms396kbOK10
104ms400kbOK10
Punctaj total100

Ceva nu functioneaza?