Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #2133448)
| Utilizator | 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 |
|---|---|---|---|---|---|
| 1 | 0ms | 820kb | Incorect | 0 | 0 |
| 2 | 0ms | 872kb | Incorect | 0 | 0 |
| 3 | 0ms | 820kb | Incorect | 0 | 0 |
| 4 | 4ms | 872kb | Incorect | 0 | 0 |
| 5 | 24ms | 860kb | Incorect | 0 | 0 |
| 6 | 84ms | 1016kb | Incorect | 0 | |
| 7 | 124ms | 1208kb | Incorect | 0 | 0 |
| 8 | 128ms | 1204kb | Incorect | 0 | |
| 9 | 132ms | 1204kb | Incorect | 0 | |
| 10 | 136ms | 1204kb | Incorect | 0 | |
| Punctaj total | 0 | ||||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
