Borderou de evaluare (job #1362770)

Utilizator RazzinnatorRazvan Brinzea Razzinnator Data 26 februarie 2015 15:20:14
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
10ms444kbRaspuns corect!10
20ms448kbRaspuns corect!10
30ms452kbRaspuns corect!10
40ms696kbRaspuns corect!10
50ms692kbRaspuns corect!10
60ms1200kbLungime incorecta!0
74ms1340kbLungime incorecta!0
84ms1444kbLungime incorecta!0
94ms1464kbSubsir incorect!0
104ms1460kbSubsir incorect!0
Punctaj total50

Ceva nu functioneaza?