Pagini recente » Borderou de evaluare (job #1728273) | Borderou de evaluare (job #864480) | Borderou de evaluare (job #2664110) | Borderou de evaluare (job #929441) | Borderou de evaluare (job #1900421)
Borderou de evaluare (job #1900421)
Raport evaluator
Compilare:
user.cpp: In function ‘void d(int)’:
user.cpp:9:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<v[x].size();i++)
^
user.cpp:11:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (a[v[x][i]]==0)
^
user.cpp:13:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
a[v[x][i]]=nr;
^
user.cpp: In function ‘int main()’:
user.cpp:22:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=]
scanf ("%d %d", &n, &m);
^
user.cpp:22:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=]
user.cpp:25:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
scanf ("%d", &b[i]);
^
user.cpp:25:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=]
scanf ("%d", &b[i]);
^
user.cpp:28:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=]
scanf ("%d", &y);
^
user.cpp:29:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (b[i]!=y)
^
user.cpp:31:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
v[b[i]].push_back(y);
^
user.cpp:31:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
v[b[i]].push_back(y);
^
user.cpp:32:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
v[y].push_back(b[i]);
^
user.cpp:32:35: warning: array subscript has type ‘char’ [-Wchar-subscripts]
v[y].push_back(b[i]);
^
user.cpp:37:12: warning: array subscript has type ‘char’ [-Wchar-subscripts]
a[i]=0;
^
user.cpp:40:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (a[b[i]]==false)
^
user.cpp:40:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (a[b[i]]==false)
^
user.cpp:43:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
a[b[i]]=nr;
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 244kb | Incorect | 0 | 0 |
2 | 0ms | 244kb | Incorect | 0 |
3 | 0ms | 240kb | Incorect | 0 |
4 | 0ms | 264kb | Incorect | 0 |
5 | 0ms | 264kb | Incorect | 0 |
6 | 0ms | 268kb | Incorect | 0 | 0 |
7 | 0ms | 272kb | Incorect | 0 |
8 | 0ms | 240kb | Incorect | 0 |
9 | 0ms | 240kb | Incorect | 0 |
10 | 0ms | 248kb | Incorect | 0 |
Punctaj total | 0 |