Borderou de evaluare (job #1599733)

Utilizator avramraresAvram Rares Stefan avramrares Data 14 februarie 2016 12:20:13
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 parcour(short int (*)[1030])’: user.cpp:34:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:39:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d %d",&n,&m); ^ user.cpp:39:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:41:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d",&a[i]); ^ user.cpp:43:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d",&b[i]); ^ user.cpp:37:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cmlsc.in","r",stdin); ^ user.cpp:38:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cmlsc.out","w",stdout); ^ user.cpp:39:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&n,&m); ^ user.cpp:41:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&a[i]); ^ user.cpp:43:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&b[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms272kbLungime incorecta!0
20ms276kbLungime incorecta!0
30ms272kbLungime incorecta!0
40ms276kbLungime incorecta!0
50ms276kbLungime incorecta!0
60ms276kbLungime incorecta!0
70ms280kbLungime incorecta!0
80ms272kbLungime incorecta!0
90ms276kbLungime incorecta!0
100ms276kbLungime incorecta!0
Punctaj total0

Ceva nu functioneaza?