Borderou de evaluare (job #825178)

Utilizator avatar CotenescuTudorIosif Cotenescu Tudor Iosif CotenescuTudorIosif IP ascuns
Problemă Snake (clasa a 6-a) Compilator c-32
Rundă Concurs 11 | IQ Academy | clasa a 6-a Status evaluat
Dată 20 mai 2025 10:55:41 Scor 26

Raport evaluator

Compilare: main.c: In function 'main': main.c:11:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 11 | fscanf(fin, "%d%d%d%d", &cer, &n, &m, &z); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:13:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 13 | fscanf(fin, "%d%d", &x, &y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:16:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 16 | fscanf(fin, "%d", &a); | ^~~~~~~~~~~~~~~~~~~~~ main.c:18:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 18 | fscanf(fin, "%d%d", &x, &y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:66:15: warning: 'prev_x' may be used uninitialized [-Wmaybe-uninitialized] 66 | x = prev_x; | ~~^~~~~~~~ main.c:9:32: note: 'prev_x' was declared here 9 | int cer, n, m, z, a, x, y, prev_x, prev_y, dir, len, i, j, s, aux; | ^~~~~~ main.c:67:15: warning: 'prev_y' may be used uninitialized [-Wmaybe-uninitialized] 67 | y = prev_y; | ~~^~~~~~~~ main.c:9:40: note: 'prev_y' was declared here 9 | int cer, n, m, z, a, x, y, prev_x, prev_y, dir, len, i, j, s, aux; | ^~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 4
2 1 ms 245 kb OK 4
3 1 ms 245 kb Incorect 0
4 1 ms 245 kb OK 4
5 1 ms 528 kb OK 4
6 59 ms 17022 kb Killed by Signal 11 0
7 79 ms 20189 kb Killed by Signal 11 0
8 1 ms 245 kb OK 4
9 1 ms 245 kb OK 4
10 1 ms 765 kb OK 4
11 9 ms 3657 kb Killed by Signal 11 0
12 19 ms 4440 kb Killed by Signal 11 0
13 69 ms 18599 kb Killed by Signal 11 0
14 19 ms 4968 kb Killed by Signal 11 0
15 59 ms 13090 kb Incorect 0
16 1 ms 1052 kb Incorect 0
17 9 ms 2338 kb Incorect 0
18 19 ms 3915 kb Incorect 0
19 49 ms 4698 kb Incorect 0
20 1 ms 245 kb Incorect 0
21 19 ms 4444 kb Incorect 0
22 19 ms 4726 kb Incorect 0
23 49 ms 11776 kb Incorect 0
24 89 ms 20172 kb Killed by Signal 11 0
25 79 ms 20172 kb Killed by Signal 11 0
Penalizare: 5% (pentru 1 submisie/ii) 5%
Punctaj total 26