Borderou de evaluare (job #1367125)

Utilizator serbanSlincu Serban serban Data 1 martie 2015 17:00:13
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:14:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(f,"%d",&n); ^ user.cpp:16:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(f,"%d",&a[i]); ^ user.cpp:17:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(f,"%d",&m); ^ user.cpp:19:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(f,"%d",&b[i]); ^ user.cpp:14: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:16: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:17: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:19: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
14ms464kbLungime incorecta!0
224ms476kbLungime incorecta!0
356ms488kbLungime incorecta!0
496ms492kbLungime incorecta!0
5148ms504kbLungime incorecta!0
6Depăşit468kbTime limit exceeded.0
7Depăşit480kbTime limit exceeded.0
8Depăşit480kbTime limit exceeded.0
9Depăşit456kbTime limit exceeded.0
10Depăşit452kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?