Borderou de evaluare (job #2133448)

Utilizator vlavricVictor Lavric vlavric Data 16 februarie 2018 23:16:23
Problema Cautare binara Status done
Runda Arhiva educationala Compilator c | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.c: In function ‘readfrom’: user.c:54:2: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d", n); ^ user.c:56:3: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d", &a[i]); ^ user.c:57:2: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d", m); ^ user.c:60:3: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d %d", &k, &j); ^ user.c: In function ‘cautare1’: user.c:30:9: warning: ‘id’ may be used uninitialized in this function [-Wmaybe-uninitialized] return (id + 1); ^ user.c: In function ‘cautare2’: user.c:45:9: warning: ‘id’ may be used uninitialized in this function [-Wmaybe-uninitialized] return (id + 1); ^ user.c: In function ‘readfrom’: user.c:45:9: warning: ‘id’ may be used uninitialized in this function [-Wmaybe-uninitialized] user.c:35:35: note: ‘id’ was declared here int start = 0, end = n - 1, mid, id; ^ user.c:30:9: warning: ‘id’ may be used uninitialized in this function [-Wmaybe-uninitialized] return (id + 1); ^ user.c:20:35: note: ‘id’ was declared here int start = 0, end = n - 1, mid, id; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms820kbIncorect00
20ms872kbIncorect00
30ms820kbIncorect00
44ms872kbIncorect00
524ms860kbIncorect00
684ms1016kbIncorect0
7124ms1208kbIncorect00
8128ms1204kbIncorect0
9132ms1204kbIncorect0
10136ms1204kbIncorect0
Punctaj total0

Ceva nu functioneaza?