Borderou de evaluare (job #1188579)

Utilizator borzakroMiron Stefan borzakro Data 19 mai 2014 22:31:34
Problema Cel mai lung subsir comun Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:20:54: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] for(int i=1;i<=a;++i) fscanf(f, "%d", &M[i]); ^ user.cpp:21:54: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] for(int i=1;i<=b;++i) fscanf(f, "%d", &N[i]); ^ user.cpp:18:38: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf (f, "%d %d", &a, &b); ^ user.cpp:20:55: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(int i=1;i<=a;++i) fscanf(f, "%d", &M[i]); ^ user.cpp:21:55: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(int i=1;i<=b;++i) fscanf(f, "%d", &N[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms260kbLungime incorecta!0
20ms272kbLungime incorecta!0
30ms284kbLungime incorecta!0
40ms652kbLungime incorecta!0
50ms764kbLungime incorecta!0
64ms1292kbLungime incorecta!0
78ms2260kbLungime incorecta!0
88ms2080kbLungime incorecta!0
98ms2272kbLungime incorecta!0
104ms1880kbLungime incorecta!0
Punctaj total0

Ceva nu functioneaza?