Borderou de evaluare (job #801354)

Utilizator avatar solezarino Robert Giurea solezarino IP ascuns
Problemă Loto ( clasa a 6-a ) Compilator c-32
Rundă Christmas Gift Status evaluat
Dată 28 dec. 2024 19:13:18 Scor 100

Raport evaluator

Compilare: main.c: In function 'main': main.c:11:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 11 | fscanf(fin,"%d",&n); | ^~~~~~~~~~~~~~~~~~~ main.c:13:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 13 | fscanf(fin,"%d",&v[i]); | ^~~~~~~~~~~~~~~~~~~~~~ main.c:20:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 20 | fscanf(fin,"%d",&a); | ^~~~~~~~~~~~~~~~~~~ main.c:42:4: warning: 'b' may be used uninitialized [-Wmaybe-uninitialized] 42 | k=v[b]; | ~^~~~~ main.c:10:17: note: 'b' was declared here 10 | int n,mi,ma,a,b,i,h=0,k=0; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 4 ms 245 kb OK 10
2 4 ms 241 kb OK 10
3 4 ms 245 kb OK 10
4 3 ms 249 kb OK 10
5 5 ms 245 kb OK 10
6 4 ms 245 kb OK 10
7 5 ms 245 kb OK 10
8 3 ms 245 kb OK 10
9 3 ms 245 kb OK 10
10 3 ms 245 kb OK 10
Punctaj total 100