Borderou de evaluare (job #2002018)

Utilizator caesar2001Stoica Alexandru caesar2001 Data 18 iulie 2017 13:37:45
Problema Insule Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:27:23: warning: array subscript has type ‘char’ [-Wchar-subscripts] nr[v[i][j]] ++; ^ user.cpp:32:31: warning: array subscript has type ‘char’ [-Wchar-subscripts] nr[v[i][j]] --; ^ user.cpp:35:35: warning: array subscript has type ‘char’ [-Wchar-subscripts] nr[v[i][j]] --; ^ user.cpp:39:35: warning: array subscript has type ‘char’ [-Wchar-subscripts] nr[v[i][j]] --; ^ user.cpp:18:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d %d",&n,&m); ^ user.cpp:20:20: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(tmp,3,in); ^ user.cpp:23:30: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(v[i],NMAX+3,in); ^ user.cpp:48:32: warning: array subscript is above array bounds [-Warray-bounds] fprintf(out,"%d ",nr[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms268kbRaspuns Gresit0
20ms264kbRaspuns Gresit0
30ms268kbRaspuns Gresit0
40ms276kbRaspuns Gresit0
50ms276kbRaspuns Gresit0
60ms268kbRaspuns Gresit0
70ms272kbRaspuns Gresit0
80ms276kbRaspuns Gresit0
90ms276kbRaspuns Gresit0
100ms276kbRaspuns Gresit0
Punctaj total0

Ceva nu functioneaza?