Borderou de evaluare (job #734037)

Utilizator avatar AlexStoican Alexandru Andrei Stoican AlexStoican IP ascuns
Problemă Snake (clasa a 6-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 28 sept. 2023 22:36:44 Scor 100

Raport evaluator

Compilare: main.c: In function 'main': main.c:57:21: warning: unused variable 'j' [-Wunused-variable] 57 | int cerinta, i, j, m, z; | ^ main.c:61:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 61 | fscanf(in, "%d", &cerinta); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:62:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 62 | fscanf(in, "%d%d", &n, &m); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:63:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 63 | fscanf(in, "%d", &z); | ^~~~~~~~~~~~~~~~~~~~ main.c:66:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 66 | fscanf(in, "%d%d", &z1, &z2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:114:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 114 | fscanf(in, "%d", &nr_mere); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:117:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 117 | fscanf(in, "%d%d", &z1, &z2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:906, from main.c:1: In function 'fprintf', inlined from 'main' at main.c:199:21: /usr/include/bits/stdio2.h:79:10: warning: 'p2spast' may be used uninitialized [-Wmaybe-uninitialized] 79 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 80 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ main.c: In function 'main': main.c:111:22: note: 'p2spast' was declared here 111 | int p1spast, p2spast; | ^~~~~~~ In function 'fprintf', inlined from 'main' at main.c:199:21: /usr/include/bits/stdio2.h:79:10: warning: 'p1spast' may be used uninitialized [-Wmaybe-uninitialized] 79 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 80 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ main.c: In function 'main': main.c:111:13: note: 'p1spast' was declared here 111 | int p1spast, p2spast; | ^~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 2 ms 245 kb OK 4
2 1 ms 245 kb OK 4
3 1 ms 245 kb OK 4
4 1 ms 245 kb OK 4
5 1 ms 507 kb OK 4
6 1 ms 1032 kb OK 4
7 59 ms 3653 kb OK 4
8 1 ms 245 kb OK 4
9 1 ms 245 kb OK 4
10 1 ms 507 kb OK 4
11 1 ms 1032 kb OK 4
12 9 ms 1552 kb OK 4
13 69 ms 2600 kb OK 4
14 69 ms 3391 kb OK 4
15 49 ms 4182 kb OK 4
16 1 ms 1036 kb OK 4
17 9 ms 2338 kb OK 4
18 19 ms 3387 kb OK 4
19 49 ms 4177 kb OK 4
20 1 ms 245 kb OK 4
21 19 ms 4177 kb OK 4
22 19 ms 4182 kb OK 4
23 69 ms 3391 kb OK 4
24 149 ms 4177 kb OK 4
25 119 ms 4182 kb OK 4
Punctaj total 100