Borderou de evaluare (job #2379127)

Utilizator adrian.neataNeata Adrian adrian.neata Data 12 martie 2019 21:54:38
Problema Cel mai lung subsir comun Status done
Runda Arhiva educationala Compilator c-32 | Vezi sursa
Scor 10

Raport evaluator

Compilare: main.c: In function 'main': main.c:11:11: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'char *' [-Wformat=] scanf("%d", &a[i]); ^ main.c:14:11: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'char *' [-Wformat=] scanf("%d", &b[i]); ^ main.c:6:2: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] freopen("cmlsc.in", "r", stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:7:6: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] freopen("cmlsc.out", "w", stdout); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:8:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &m, &n); ^~~~~~~~~~~~~~~~~~~~~ main.c:11:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &a[i]); ^~~~~~~~~~~~~~~~~~ main.c:14:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &b[i]); ^~~~~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbRaspuns corect!10
22ms131kbSubsir incorect!0
32ms131kbLungime incorecta!0
43ms131kbLungime incorecta!0
53ms131kbLungime incorecta!0
67ms524kbLungime incorecta!0
713ms1048kbLungime incorecta!0
814ms1048kbLungime incorecta!0
915ms1179kbLungime incorecta!0
1012ms917kbLungime incorecta!0
Punctaj total10

Ceva nu functioneaza?