Borderou de evaluare (job #1362773)

Utilizator RazzinnatorRazvan Brinzea Razzinnator Data 26 februarie 2015 15:21:43
Problema Cel mai lung subsir comun Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:39:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=] fscanf( f, "%d", &mat[0][i+2] ); ^ user.cpp:43:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=] fscanf( f, "%d", &mat[i+2][0] ); ^ user.cpp:36:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf( f, "%d%d", &n, &m ); ^ user.cpp:39:40: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf( f, "%d", &mat[0][i+2] ); ^ user.cpp:43:40: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf( f, "%d", &mat[i+2][0] ); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms440kbRaspuns corect!10
20ms448kbRaspuns corect!10
30ms456kbRaspuns corect!10
40ms688kbRaspuns corect!10
50ms692kbRaspuns corect!10
64ms1204kbLungime incorecta!0
74ms1340kbLungime incorecta!0
84ms1440kbLungime incorecta!0
94ms1468kbSubsir incorect!0
104ms1464kbSubsir incorect!0
Punctaj total50

Ceva nu functioneaza?