Borderou de evaluare (job #1365557)

Utilizator serbanSlincu Serban serban Data 28 februarie 2015 12:59:39
Problema Interclasare Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:13:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(f,"%d",&n); ^ user.cpp:15:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(f,"%d",&a[i]); ^ user.cpp:16:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(f,"%d",&m); ^ user.cpp:18:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(f,"%d",&b[i]); ^ user.cpp:13:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&n); ^ user.cpp:15:29: 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:16:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&m); ^ user.cpp:18:29: 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
14ms448kbLungime incorecta!0
212ms456kbLungime incorecta!0
328ms464kbLungime incorecta!0
448ms472kbLungime incorecta!0
576ms480kbLungime incorecta!0
6108ms496kbLungime incorecta!0
7148ms496kbLungime incorecta!0
8Depăşit484kbTime limit exceeded.0
9Depăşit476kbTime limit exceeded.0
10Depăşit472kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?