Borderou de evaluare (job #1900424)

Utilizator savulescustefanSavulescu Stefan savulescustefan Data 3 martie 2017 13:02:38
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 ‘short int*’ [-Wformat=] scanf ("%d %d", &n, &m); ^ user.cpp:22:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:25:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf ("%d", &b[i]); ^ user.cpp:28:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf ("%d", &y); ^ user.cpp:20:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("flori.in","r",stdin); ^ user.cpp:21:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("flori.out","w",stdout); ^ user.cpp:22:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d %d", &n, &m); ^ user.cpp:25:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &b[i]); ^ user.cpp:28:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms240kbIncorect00
20ms240kbIncorect0
30ms240kbIncorect0
40ms240kbIncorect0
50ms236kbIncorect0
60ms240kbIncorect00
70ms236kbIncorect0
80ms236kbIncorect0
90ms244kbIncorect0
100ms244kbIncorect0
Punctaj total0

Ceva nu functioneaza?