Borderou de evaluare (job #653681)

Utilizator avatar PetruApostol Petru Apostol PetruApostol IP ascuns
Problemă Căutare binară Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 26 iun. 2022 15:59:30 Scor 100

Raport evaluator

Compilare: main.c: In function 'bsearch1': main.c:25:12: warning: unused variable 'n' [-Wunused-variable] 25 | int m, n = u; | ^ main.c: In function 'main': main.c:61:5: warning: ignoring return value of 'freopen' declared with attribute 'warn_unused_result' [-Wunused-result] 61 | freopen("cautbin.in","r",stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:62:5: warning: ignoring return value of 'freopen' declared with attribute 'warn_unused_result' [-Wunused-result] 62 | freopen("cautbin.out","w",stdout); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:63:5: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] 63 | scanf("%d", &n); | ^~~~~~~~~~~~~~~ main.c:65:9: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] 65 | scanf("%d", &v[i]); | ^~~~~~~~~~~~~~~~~~ main.c:67:5: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] 67 | scanf("%d", &m); | ^~~~~~~~~~~~~~~ main.c:70:11: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] 70 | scanf("%d%d", &tip, &val); | ^~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 2 ms 114 kb OK 10
2 3 ms 110 kb OK 10
3 1 ms 114 kb OK 10
4 1 ms 118 kb OK 10
5 52 ms 139 kb OK 10
6 180 ms 409 kb OK 10
7 267 ms 557 kb OK 10
8 272 ms 548 kb OK 10
9 279 ms 548 kb OK 10
10 284 ms 552 kb OK 10
Punctaj total 100