Borderou de evaluare (job #1646801)

Utilizator Vlad_lsc2008Lungu Vlad Vlad_lsc2008 Data 10 martie 2016 17:47:34
Problema Cel mai lung subsir comun Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:19:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] for(i=1;i<=n;i++) scanf("%d",&v1[i]); ^ user.cpp:20:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] for(i=1;i<=m;i++) scanf("%d",&v2[i]); ^ user.cpp:16: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:17: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:18:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&m); ^ user.cpp:19:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(i=1;i<=n;i++) scanf("%d",&v1[i]); ^ user.cpp:20:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(i=1;i<=m;i++) scanf("%d",&v2[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms432kbRaspuns corect!10
20ms448kbFisier de iesire corupt!0
30ms460kbLungime incorecta!0
40ms824kbLungime incorecta!0
50ms936kbLungime incorecta!0
64ms1464kbLungime incorecta!0
78ms2428kbLungime incorecta!0
88ms2260kbLungime incorecta!0
98ms2440kbLungime incorecta!0
108ms2056kbLungime incorecta!0
Punctaj total10

Ceva nu functioneaza?