Borderou de evaluare (job #1697871)

Utilizator oldatlantianSerban Cercelescu oldatlantian Data 3 mai 2016 01:34:51
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:25: warning: format ‘%c’ expects argument of type ‘char*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%c",&a[i]); ^ user.cpp:17:25: warning: format ‘%c’ expects argument of type ‘char*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%c",&b[i]); ^ user.cpp:9: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:10: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:13: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:15:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c",&a[i]); ^ user.cpp:17:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c",&b[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms468kbFisier de iesire corupt!0
20ms496kbLungime incorecta!0
30ms516kbLungime incorecta!0
40ms1276kbLungime incorecta!0
50ms1496kbLungime incorecta!0
64ms2568kbLungime incorecta!0
712ms4552kbLungime incorecta!0
812ms4196kbLungime incorecta!0
912ms4576kbLungime incorecta!0
1012ms3788kbLungime incorecta!0
Punctaj total0

Ceva nu functioneaza?