Borderou de evaluare (job #1574083)

Utilizator penetavyPene Cosmin-Octavian penetavy Data 20 ianuarie 2016 09:37:50
Problema Vila Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:200:50: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(max_arie_2 < v[mat[i][j+1]] + v[mat[i+1][j]] + v[mat[i][j-1]] + 1 ){ ^ user.cpp:200:67: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(max_arie_2 < v[mat[i][j+1]] + v[mat[i+1][j]] + v[mat[i][j-1]] + 1 ){ ^ user.cpp:200:84: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(max_arie_2 < v[mat[i][j+1]] + v[mat[i+1][j]] + v[mat[i][j-1]] + 1 ){ ^ user.cpp:205:56: warning: array subscript has type ‘char’ [-Wchar-subscripts] else if(max_arie_2 == v[mat[i][j+1]] + v[mat[i+1][j]] + v[mat[i][j-1]] + 1){ ^ user.cpp:205:73: warning: array subscript has type ‘char’ [-Wchar-subscripts] else if(max_arie_2 == v[mat[i][j+1]] + v[mat[i+1][j]] + v[mat[i][j-1]] + 1){ ^ user.cpp:205:90: warning: array subscript has type ‘char’ [-Wchar-subscripts] else if(max_arie_2 == v[mat[i][j+1]] + v[mat[i+1][j]] + v[mat[i][j-1]] + 1){ ^ user.cpp:49:10: warning: unused variable ‘c’ [-Wunused-variable] char c; ^ user.cpp:51:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d %d\n", &n, &m); ^ user.cpp:54:38: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%s", mat[i] + 1); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms296kbOK10
20ms304kbOK10
30ms360kbOK10
40ms356kbOK10
50ms360kbOK10
60ms352kbOK10
70ms364kbOK10
80ms376kbOK10
90ms356kbOK10
100ms356kbOK10
Punctaj total100

Ceva nu functioneaza?