Borderou de evaluare (job #621254)

Utilizator avatar bakono01001 Tara Horia-Andrei bakono01001 IP ascuns
Problemă Dezechilibru (clasa a 5-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 17 dec. 2021 16:31:27 Scor 10

Raport evaluator

Compilare: main.c: In function 'main': main.c:31:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 31 | if(init2=inm/2){ | ^~~~~ main.c:12:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 12 | fscanf(fin, "%d", &n); | ^~~~~~~~~~~~~~~~~~~~~ main.c:14:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 14 | fscanf(fin, "%d", &v[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~ main.c:55:5: warning: 'max' may be used uninitialized in this function [-Wmaybe-uninitialized] 55 | fprintf(fout, "%d", v[max]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:40:10: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized] 40 | c=c*c; | ~^~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 2 ms 131 kb OK 5
2 1 ms 131 kb Incorect 0
3 1 ms 131 kb Incorect 0
4 1 ms 131 kb Incorect 0
5 1 ms 131 kb OK 5
6 1 ms 131 kb Incorect 0
7 1 ms 131 kb Incorect 0
8 1 ms 131 kb Incorect 0
9 1 ms 131 kb Incorect 0
10 1 ms 131 kb Incorect 0
11 1 ms 131 kb Incorect 0
12 1 ms 131 kb Incorect 0
13 7 ms 258 kb Incorect 0
14 1 ms 131 kb Incorect 0
15 28 ms 524 kb Incorect 0
16 46 ms 786 kb Incorect 0
17 94 ms 1699 kb Incorect 0
18 241 ms 4190 kb Incorect 0
19 251 ms 4194 kb Incorect 0
20 243 ms 4190 kb Incorect 0
Punctaj total 10