Borderou de evaluare (job #692281)

Utilizator avatar AlexStoican Alexandru Andrei Stoican AlexStoican IP ascuns
Problemă Wind (clasa a 7-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 2 feb. 2023 16:53:23 Scor 77

Raport evaluator

Compilare: main.c: In function 'prelucrare': main.c:22:12: warning: unused variable 's' [-Wunused-variable] 22 | int i, s=0, minn, maxx; | ^ main.c: In function 'cerintadoi': main.c:62:16: warning: unused variable 'nr' [-Wunused-variable] 62 | int d = 1, nr=0, a, b, x, e; | ^~ main.c: In function 'main': main.c:105:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 105 | fscanf(in, "%d%d", &c, &n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:108:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 108 | fscanf(in, "%d", &v[i]); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c: In function 'aflamE': main.c:58:12: warning: 'ind' may be used uninitialized in this function [-Wmaybe-uninitialized] 58 | return ind; | ^~~ main.c: In function 'cerintadoi': main.c:43:11: warning: 'imin' may be used uninitialized in this function [-Wmaybe-uninitialized] 43 | if(i != x) | ^ main.c:63:15: note: 'imin' was declared here 63 | int minn, imin; | ^~~~ main.c:77:19: warning: 'minn' may be used uninitialized in this function [-Wmaybe-uninitialized] 77 | if(x < minn) | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb Pomana (pentru ca un scor de 0p nu arata asa bine ca un scor de 10p) 10
2 48 ms 901 kb OK 4
3 63 ms 905 kb OK 4
4 1 ms 249 kb OK 4
5 67 ms 901 kb OK 4
6 1 ms 118 kb OK 4
7 11 ms 249 kb OK 5
8 1 ms 114 kb OK 5
9 28 ms 512 kb OK 5
10 1 ms 118 kb a) incorect; b) incorect 0
11 35 ms 638 kb OK 5
12 1 ms 114 kb OK 5
13 59 ms 901 kb a) incorect; b) incorect 0
14 53 ms 1032 kb OK 5
15 56 ms 774 kb a) incorect; b) incorect 0
16 58 ms 770 kb OK 5
17 1 ms 114 kb OK 4
18 1 ms 114 kb a) incorect; b) OK 2
19 1 ms 114 kb a) incorect; b) OK 2
20 1 ms 114 kb a) incorect; b) incorect 0
21 1 ms 114 kb OK 4
Punctaj total 77