Borderou de evaluare (job #1744196)

Utilizator Tiberiu02Tiberiu Musat Tiberiu02 Data 19 august 2016 14:11:18
Problema Insule Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 18

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:85:47: warning: array subscript has type ‘char’ [-Wchar-subscripts] mat[i][j] = code_to_char[mat[i][j]]; ^ user.cpp:126:33: warning: array subscript has type ‘char’ [-Wchar-subscripts] while ( bg < ed && ( mat[t.i][t.j] != 'G' || t.d <= 1 ) ) { ^ user.cpp:126:38: warning: array subscript has type ‘char’ [-Wchar-subscripts] while ( bg < ed && ( mat[t.i][t.j] != 'G' || t.d <= 1 ) ) { ^ user.cpp:127:16: warning: array subscript has type ‘char’ [-Wchar-subscripts] mat[t.i][t.j] = 'R'; ^ user.cpp:127:21: warning: array subscript has type ‘char’ [-Wchar-subscripts] mat[t.i][t.j] = 'R'; ^ user.cpp:138:18: warning: division by zero [-Wdiv-by-zero] return 1/0; ^ user.cpp:75:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf( fin, "%d%d ", &n, &m ); ^ user.cpp:81:43: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread( mat[i] + 1, 1, m + 1, fin ); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14msDepăşitMemory limit exceeded.0
20ms280kbOK!10
34msDepăşitMemory limit exceeded.0
40msDepăşitMemory limit exceeded.0
54msDepăşitMemory limit exceeded.0
60msDepăşitMemory limit exceeded.0
70ms304kbLungime minima gresita4
84msDepăşitMemory limit exceeded.0
90ms368kbLungime minima gresita4
100msDepăşitMemory limit exceeded.0
Punctaj total18

Ceva nu functioneaza?