Borderou de evaluare (job #1990784)

Utilizator KeitaroAbderus Alastor Keitaro Data 13 iunie 2017 16:43:17
Problema Cautare binara Status done
Runda Arhiva educationala Compilator c | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:59:9: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("cautbin.in", "r", stdin); ^ user.c:60:9: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("cautbin.out", "w", stdout); ^ user.c:63:7: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.c:65:8: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &arr[i]); ^ user.c:68:7: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &m); ^ user.c:71:8: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &tip, &v); ^ user.c: In function ‘bin_search1’: user.c:37:2: warning: ‘mid’ may be used uninitialized in this function [-Wmaybe-uninitialized] return mid - 1; ^ user.c: In function ‘bin_search2’: user.c:55:2: warning: ‘mid’ may be used uninitialized in this function [-Wmaybe-uninitialized] return mid + 1; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
18msDepăşitMemory limit exceeded.00
2Depăşit248kbTime limit exceeded.00
3Depăşit256kbTime limit exceeded.00
4Depăşit252kbTime limit exceeded.00
50ms288kbKilled by signal 11(SIGSEGV).00
6Depăşit448kbTime limit exceeded.0
7Depăşit636kbTime limit exceeded.00
8Depăşit636kbTime limit exceeded.0
9Depăşit632kbTime limit exceeded.0
10Depăşit632kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?