Borderou de evaluare (job #1747463)

Utilizator PopoviciRobertPopovici Robert PopoviciRobert Data 24 august 2016 22:13:04
Problema Colectie Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘void Insert_Hash(int, int, int, int)’: user.cpp:55:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while(i<H[x].size()&&H[x][i].val!=y) ^ user.cpp:57:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(i==H[x].size()) ^ user.cpp: In function ‘int Find_Hash(int, int)’: user.cpp:67:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while(i<H[x].size()&&H[x][i].val!=y) ^ user.cpp:69:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(i==H[x].size()) ^ user.cpp: In function ‘void bkt(int, char)’: user.cpp:84:35: warning: array subscript has type ‘char’ [-Wchar-subscripts] part[cif]+=mat[tip][j][cif]; ^ user.cpp: In function ‘int main()’: user.cpp:128:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d %d " ,&n,&k); ^ user.cpp:152:40: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d " ,&mat[0][i][j]); ^ user.cpp:157:40: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d " ,&mat[1][i][j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
112ms8084kbnu se pot numerota exact cd-urile0
212ms8084kbnu se pot numerota exact cd-urile0
312ms8084kbnu se pot numerota exact cd-urile0
412ms8088kbnu se pot numerota exact cd-urile0
528ms8328kbOK!10
656ms8500kbnu se pot numerota exact cd-urile0
760ms8648kbnu se pot numerota exact cd-urile0
884ms8836kbnu se pot numerota exact cd-urile0
976ms8648kbOK!10
1080ms8840kbOK!10
Punctaj total30

Ceva nu functioneaza?