Borderou de evaluare (job #837527)

Utilizator avatar RegeleOu3433 Nerdvana 6 Calin V. Dragos Andrei RegeleOu3433 IP ascuns
Problemă Snake (clasa a 6-a) Compilator c
Rundă Arhiva de probleme Status evaluat
Dată 17 oct. 2025 16:24:22 Scor 84

Raport evaluator

Compilare: main.c: In function 'main': main.c:14:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 14 | fscanf ( fin , "%d%d%d%d" , &niv , &n , &m , &z ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:16:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 16 | fscanf ( fin , "%d%d" , &lz , &cz ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:19:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 19 | fscanf ( fin , "%d" , &a ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:21:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 21 | fscanf ( fin , "%d%d" , &lm , &cm ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:57:50: warning: 'antcp' may be used uninitialized [-Wmaybe-uninitialized] 57 | fprintf ( fout , "%d %d %d %d %d" , ls[antcp] + 1 , cs[antcp] + 1 , antl , ls[antcd] + 1 , cs[antcd] + 1 ); | ~~^~~~~~~ main.c:11:83: note: 'antcp' was declared here 11 | int niv , n , m , z , lz , cz , a , i , lm , cm , caps , cods , dirs , luns , antcp , antcd , antl; | ^~~~~ main.c:57:89: warning: 'antcd' may be used uninitialized [-Wmaybe-uninitialized] 57 | fprintf ( fout , "%d %d %d %d %d" , ls[antcp] + 1 , cs[antcp] + 1 , antl , ls[antcd] + 1 , cs[antcd] + 1 ); | ~~^~~~~~~ main.c:11:91: note: 'antcd' was declared here 11 | int niv , n , m , z , lz , cz , a , i , lm , cm , caps , cods , dirs , luns , antcp , antcd , antl; | ^~~~~ In file included from /usr/include/stdio.h:970, from main.c:1: In function 'fprintf', inlined from 'main' at main.c:57:12: /usr/include/bits/stdio2.h:111:10: warning: 'antl' may be used uninitialized [-Wmaybe-uninitialized] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ main.c: In function 'main': main.c:11:99: note: 'antl' was declared here 11 | int niv , n , m , z , lz , cz , a , i , lm , cm , caps , cods , dirs , luns , antcp , antcd , antl; | ^~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 0 ms 296 kb OK 4
2 0 ms 512 kb OK 4
3 0 ms 296 kb OK 4
4 1 ms 512 kb OK 4
5 1 ms 552 kb OK 4
6 1 ms 1024 kb OK 4
7 24 ms 10240 kb OK 4
8 1 ms 512 kb OK 4
9 0 ms 296 kb OK 4
10 1 ms 552 kb OK 4
11 1 ms 808 kb OK 4
12 2 ms 1536 kb OK 4
13 13 ms 5632 kb OK 4
14 13 ms 5888 kb OK 4
15 9 ms 4864 kb OK 4
16 1 ms 808 kb Incorect 0
17 2 ms 1320 kb Incorect 0
18 4 ms 2304 kb OK 4
19 12 ms 2600 kb OK 4
20 1 ms 512 kb Incorect 0
21 5 ms 2816 kb OK 4
22 5 ms 2856 kb OK 4
23 12 ms 5632 kb OK 4
24 24 ms 10024 kb Incorect 0
25 21 ms 9216 kb OK 4
Punctaj total 84