Borderou de evaluare (job #1254829)

Utilizator js3292618Andrei Mihai js3292618 Data 3 noiembrie 2014 16:23:39
Problema Cautare binara Status done
Runda Arhiva educationala Compilator c | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:75:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen(IN, "r", stdin); ^ user.c:76:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen(OUT, "w", stdout); ^ user.c:78:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%u", &n); ^ user.c:80:14: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lu", &A[i]); ^ user.c:82:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%u", &m); ^ user.c:84:14: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%u %lu", &o, &x); ^ user.c:16:22: warning: ‘m’ may be used uninitialized in this function [-Wmaybe-uninitialized] while (l < r && A[m] != x) { ^ user.c:12:15: note: ‘m’ was declared here int l, r, m; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms256kbOK1010
20ms256kbIncorect00
38ms260kbIncorect00
460ms264kbIncorect00
5Depăşit296kbTime limit exceeded.00
6Depăşit452kbTime limit exceeded.0
7Depăşit644kbTime limit exceeded.00
8Depăşit640kbTime limit exceeded.0
9Depăşit640kbTime limit exceeded.0
10Depăşit640kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?