Borderou de evaluare (job #1254988)

Utilizator dorinmoldovanMoldovan Dorin dorinmoldovan Data 3 noiembrie 2014 21:54:39
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:48:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=] fscanf(f, "%d", &a[i]); ^ user.cpp:51:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=] fscanf(f, "%d", &b[i]); ^ user.cpp:44:21: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d", &N); ^ user.cpp:45:21: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d", &M); ^ user.cpp:48:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d", &a[i]); ^ user.cpp:51:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d", &b[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms256kbRaspuns corect!10
20ms264kbRaspuns corect!10
30ms268kbRaspuns corect!10
40ms456kbRaspuns corect!10
50ms508kbRaspuns corect!10
60ms776kbLungime incorecta!0
74ms1260kbLungime incorecta!0
84ms1168kbLungime incorecta!0
94ms1264kbSubsir incorect!0
104ms1068kbSubsir incorect!0
Punctaj total50

Ceva nu functioneaza?