Borderou de evaluare (job #1570669)

Utilizator Horea.ChivuChivu Horea-Mihai Horea.Chivu Data 16 ianuarie 2016 18:50:15
Problema Teams Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.c: In function ‘cautare_binara1’: user.c:94:9: warning: unused variable ‘m’ [-Wunused-variable] int m = (a + b)/2; ^ user.c: In function ‘main’: user.c:101:10: warning: unused variable ‘a’ [-Wunused-variable] char a[620002]; ^ user.c: In function ‘citire_parsare’: user.c:10:10: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets(a, 620002, in); ^ user.c: In function ‘cautare_binara1’: user.c:97:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.c: In function ‘main’: user.c:104:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d %d %d", &n, &A, &B); ^ user.c:107:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d", &v[i]); ^ user.c: In function ‘caz1’: user.c:72:5: warning: ‘fin’ may be used uninitialized in this function [-Wmaybe-uninitialized] return fin; ^ user.c: In function ‘caz2’: user.c:89:5: warning: ‘fin’ may be used uninitialized in this function [-Wmaybe-uninitialized] return fin; ^ user.c: In function ‘main’: user.c:121:43: warning: ‘fin’ may be used uninitialized in this function [-Wmaybe-uninitialized] c += caz1(v,B-v[i],i+1,n - 1) - caz2(v,A-v[i],i+1,n - 1) + 1; ^ user.c:121:43: warning: ‘fin’ may be used uninitialized in this function [-Wmaybe-uninitialized]
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms252kbOK10
20ms252kbOK10
30ms252kbOK10
40ms252kbOK10
50ms268kbOK10
68ms280kbOK10
712ms304kbOK10
828ms360kbOK10
9Depăşit448kbTime limit exceeded.0
10Depăşit636kbTime limit exceeded.0
Punctaj total80

Ceva nu functioneaza?