Borderou de evaluare (job #1744192)

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

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:20: warning: array subscript has type ‘char’ [-Wchar-subscripts] while ( mat[t.i][t.j] != 'G' || t.d <= 1 ) { ^ user.cpp:126:25: warning: array subscript has type ‘char’ [-Wchar-subscripts] while ( 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: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
10ms304kbKilled by signal 11(SIGSEGV).0
20ms284kbOK!10
30ms296kbKilled by signal 11(SIGSEGV).0
40ms304kbKilled by signal 11(SIGSEGV).0
50ms316kbKilled by signal 11(SIGSEGV).0
60ms296kbKilled by signal 11(SIGSEGV).0
70ms312kbLungime minima gresita4
80ms316kbKilled by signal 11(SIGSEGV).0
90ms320kbLungime minima gresita4
100ms324kbLungime minima gresita4
Punctaj total22

Ceva nu functioneaza?