Pagini recente » Borderou de evaluare (job #152101) | Borderou de evaluare (job #176550) | Borderou de evaluare (job #1582522) | Borderou de evaluare (job #1146541) | Borderou de evaluare (job #1106111)
Borderou de evaluare (job #1106111)
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 | 388kb | OK | 10 |
2 | 0ms | 384kb | OK | 10 |
3 | 0ms | 392kb | OK | 10 |
4 | 4ms | 396kb | OK | 10 |
5 | 4ms | 392kb | OK | 10 |
6 | 0ms | 396kb | OK | 10 |
7 | 4ms | 396kb | OK | 10 |
8 | 4ms | 396kb | OK | 10 |
9 | 4ms | 396kb | OK | 10 |
10 | 4ms | 400kb | OK | 10 |
Punctaj total | 100 |