Borderou de evaluare (job #734289)

Utilizator avatar mara_p Mara Petrescu mara_p IP ascuns
Problemă Căutare binară Compilator c-32
Rundă Tema 3 clasa a 6-a Status evaluat
Dată 30 sept. 2023 12:12:02 Scor 100

Raport evaluator

Compilare: main.c: In function 'main': main.c:6:25: warning: variable 'z' set but not used [-Wunused-but-set-variable] 6 | int N,i,M,m,x,t,s,o,z; | ^ main.c:10:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 10 | fscanf(in,"%d",&N); | ^~~~~~~~~~~~~~~~~~ main.c:11:22: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 11 | for(i=1;i<=N;i++)fscanf(in,"%d",&n[i]); | ^~~~~~~~~~~~~~~~~~~~~ main.c:12:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 12 | fscanf(in,"%d",&M); | ^~~~~~~~~~~~~~~~~~ main.c:15:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 15 | fscanf(in,"%d%d",&m,&x); | ^~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 1 ms 245 kb OK 10
3 1 ms 245 kb OK 10
4 10 ms 229 kb OK 10
5 39 ms 151 kb OK 10
6 149 ms 417 kb OK 10
7 229 ms 536 kb OK 10
8 239 ms 540 kb OK 10
9 249 ms 548 kb OK 10
10 239 ms 552 kb OK 10
Punctaj total 100