Borderou de evaluare (job #810381)

Utilizator avatar andrei_sevescu sevescu andrei andrei_sevescu IP ascuns
Problemă Grad1 (clasa a 6-a) Compilator c-32
Rundă Tema 30 Clasa a 6-a Status evaluat
Dată 21 feb. 2025 10:49:52 Scor 74

Raport evaluator

Compilare: main.c: In function 'main': main.c:12:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 12 | fscanf(fin, "%d%d" ,&n,&k); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:15:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 15 | fscanf(fin, "%d" ,&v[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~ main.c:51:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 51 | fscanf(fin, "%d" ,&v[j]); | ^~~~~~~~~~~~~~~~~~~~~~~~ main.c:33:10: warning: 's' may be used uninitialized [-Wmaybe-uninitialized] 33 | x=v[s]; | ~^~~~~ main.c:9:13: note: 's' was declared here 9 | int n,i,s,x=0,min,j,max=0,f,aux,maxi,k; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb 1. OK; 2. incorect; 3. OK 8
2 1 ms 245 kb 1. OK; 2. incorect; 3. OK 8
3 1 ms 266 kb 1. OK; 2. incorect; 3. OK 8
4 1 ms 245 kb 1. OK; 2. incorect; 3. incorect 4
5 19 ms 249 kb 1. OK; 2. incorect; 3. OK 8
6 39 ms 512 kb 1. OK; 2. incorect; 3. OK 8
7 59 ms 249 kb OK 10
8 9 ms 249 kb OK 10
9 79 ms 266 kb OK 10
10 239 ms 765 kb 1. OK; 2. incorect; 3. incorect 4
Penalizare: 5% (pentru 1 submisie/ii) 5%
Punctaj total 74