Borderou de evaluare (job #1626960)

Utilizator Antonio9227wdasdas Antonio9227 Data 3 martie 2016 13:10:48
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:16:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d%d",&m,&n); ^ user.cpp:16:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:19:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘unsigned char*’ [-Wformat=] scanf("%d",&v1[i]); ^ user.cpp:22:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘unsigned char*’ [-Wformat=] scanf("%d",&v2[i]); ^ user.cpp:14: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:15:37: 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:16:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&m,&n); ^ user.cpp:19:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&v1[i]); ^ user.cpp:22:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&v2[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms424kbLungime incorecta!0
20ms424kbLungime incorecta!0
30ms424kbLungime incorecta!0
40ms424kbLungime incorecta!0
50ms424kbLungime incorecta!0
60ms424kbLungime incorecta!0
70ms428kbLungime incorecta!0
80ms432kbLungime incorecta!0
90ms432kbLungime incorecta!0
100ms424kbLungime incorecta!0
Punctaj total0

Ceva nu functioneaza?