Borderou de evaluare (job #810076)

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ă 20 feb. 2025 17:15:11 Scor 58

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 507 kb 1. OK; 2. incorect; 3. OK 8
3 1 ms 245 kb 1. OK; 2. incorect; 3. OK 8
4 1 ms 266 kb 1. OK; 2. incorect; 3. incorect 4
5 29 ms 245 kb 1. OK; 2. incorect; 3. incorect 4
6 49 ms 245 kb 1. OK; 2. incorect; 3. incorect 4
7 69 ms 249 kb 1. OK; 2. incorect; 3. incorect 4
8 9 ms 249 kb 1. OK; 2. OK; 3. incorect 6
9 79 ms 249 kb 1. OK; 2. incorect; 3. OK 8
10 249 ms 507 kb 1. OK; 2. incorect; 3. incorect 4
Punctaj total 58