Borderou de evaluare (job #1900421)

Utilizator savulescustefanSavulescu Stefan savulescustefan Data 3 martie 2017 13:02:06
Problema Flori Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

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
10ms244kbIncorect00
20ms244kbIncorect0
30ms240kbIncorect0
40ms264kbIncorect0
50ms264kbIncorect0
60ms268kbIncorect00
70ms272kbIncorect0
80ms240kbIncorect0
90ms240kbIncorect0
100ms248kbIncorect0
Punctaj total0

Ceva nu functioneaza?