Pagini recente » Cod sursa (job #2873667) | Cod sursa (job #1955186) | Cod sursa (job #2242478) | Cod sursa (job #3214287) | Borderou de evaluare (job #1106104)
Borderou de evaluare (job #1106104)
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 |
1 | 0ms | 392kb | Incorect | 0 |
2 | 0ms | 388kb | Incorect | 0 |
3 | 0ms | 392kb | Incorect | 0 |
4 | 4ms | 404kb | Incorect | 0 |
5 | 4ms | 400kb | Incorect | 0 |
6 | 0ms | 400kb | Incorect | 0 |
7 | 4ms | 400kb | Incorect | 0 |
8 | 4ms | 400kb | Incorect | 0 |
9 | 4ms | 396kb | Incorect | 0 |
10 | 4ms | 396kb | Incorect | 0 |
Punctaj total | 0 |