Borderou de evaluare (job #1875085)

Utilizator Marius7122FMI Ciltea Marian Marius7122 Data 10 februarie 2017 18:38:32
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:30:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(f1,"%d%d",&n,&m); ^ user.cpp:30:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:32:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(f1,"%d",&a[i]); ^ user.cpp:34:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(f1,"%d",&b[i]); ^ user.cpp:30:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f1,"%d%d",&n,&m); ^ user.cpp:32:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f1,"%d",&a[i]); ^ user.cpp:34:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f1,"%d",&b[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms264kbLungime incorecta!0
20ms268kbLungime incorecta!0
30ms272kbLungime incorecta!0
40ms272kbLungime incorecta!0
50ms272kbLungime incorecta!0
60ms268kbLungime incorecta!0
70ms268kbLungime incorecta!0
80ms264kbLungime incorecta!0
90ms268kbLungime incorecta!0
100ms272kbLungime incorecta!0
Punctaj total0

Ceva nu functioneaza?