Borderou de evaluare (job #617333)

Utilizator avatar Mihai00700 Mihai Mihai00700 IP ascuns
Problemă Dezechilibru (clasa a 5-a) Compilator c-32
Rundă Concurs clasa a 5-a Status evaluat
Dată 21 nov. 2021 19:54:53 Scor 5

Raport evaluator

Compilare: main.c: In function 'main': main.c:9:1: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 9 | fscanf(fin, "%d%d", &n, &a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:14:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 14 | fscanf(fin, "%d", &a); | ^~~~~~~~~~~~~~~~~~~~~ main.c:17:16: warning: 'ac' may be used uninitialized in this function [-Wmaybe-uninitialized] 17 | ac = ac / 10; | ~~~^~~~~~~~~ main.c:38:7: warning: 'maxv' may be used uninitialized in this function [-Wmaybe-uninitialized] 38 | if(maxr > maxv){ | ^ main.c:19:15: warning: 'uct' may be used uninitialized in this function [-Wmaybe-uninitialized] 19 | s = uct + uc; | ~~^~~~~~~~~~ main.c:32:10: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized] 32 | if(c * c > s){ | ~~^~~ main.c:31:3: warning: 's' may be used uninitialized in this function [-Wmaybe-uninitialized] 31 | s = s - c; | ~~^~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 2 ms 131 kb Incorect 0
2 1 ms 131 kb OK 5
3 1 ms 131 kb Incorect 0
4 1 ms 131 kb Incorect 0
5 1 ms 131 kb Incorect 0
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 1 ms 131 kb Incorect 0
14 8 ms 131 kb Incorect 0
15 19 ms 131 kb Incorect 0
16 46 ms 131 kb Incorect 0
17 86 ms 131 kb Incorect 0
18 223 ms 131 kb Incorect 0
19 227 ms 131 kb Incorect 0
20 227 ms 131 kb Incorect 0
Punctaj total 5