Borderou de evaluare (job #1624935)

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

Ceva nu functioneaza?