Borderou de evaluare (job #1371095)

Utilizator serbanSlincu Serban serban Data 3 martie 2015 19:06:46
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:15:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(f,"%d",&n); ^ user.cpp:17:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(f,"%d",&a[i]); ^ user.cpp:18:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(f,"%d",&m); ^ user.cpp:20:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(f,"%d",&b[i]); ^ user.cpp:47:9: warning: variable ‘poza’ set but not used [-Wunused-but-set-variable] int poza,mxa=0; ^ user.cpp:54:9: warning: variable ‘pozb’ set but not used [-Wunused-but-set-variable] int pozb,mxb=0; ^ user.cpp:15: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:17: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:18: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:20: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
14ms456kbLungime incorecta!0
212ms464kbLungime incorecta!0
324ms468kbLungime incorecta!0
440ms480kbLungime incorecta!0
564ms484kbLungime incorecta!0
692ms496kbLungime incorecta!0
7128ms500kbLungime incorecta!0
8Depăşit480kbTime limit exceeded.0
9Depăşit472kbTime limit exceeded.0
10Depăşit476kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?