Borderou de evaluare (job #734956)

Utilizator avatar P_PEE Paul Enache P_PEE IP ascuns
Problemă Căutare binară Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 1 oct. 2023 22:46:48 Scor 100

Raport evaluator

Compilare: main.c: In function 'main': main.c:20:14: warning: unused variable 'car' [-Wunused-variable] 20 | char car=fgetc(f); | ^~~ main.c:12:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 12 | fscanf(f,"%d",&n); | ^~~~~~~~~~~~~~~~~ main.c:14:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 14 | fscanf(f,"%d",&v[i]); | ^~~~~~~~~~~~~~~~~~~~ main.c:15:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 15 | fscanf(f,"%d",&q); | ^~~~~~~~~~~~~~~~~ main.c:18:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 18 | fscanf(f,"%d %d",&c, &x); | ^~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 2 ms 245 kb OK 10
2 1 ms 241 kb OK 10
3 1 ms 245 kb OK 10
4 1 ms 245 kb OK 10
5 39 ms 143 kb OK 10
6 139 ms 401 kb OK 10
7 219 ms 540 kb OK 10
8 219 ms 548 kb OK 10
9 224 ms 557 kb OK 10
10 229 ms 536 kb OK 10
Punctaj total 100