Borderou de evaluare (job #814723)

Utilizator avatar DragonulCosmic Nerdvana 5 Calin Dragos Andrei DragonulCosmic IP ascuns
Problemă Agent 007 (clasa a 6-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 14 mar. 2025 11:42:27 Scor 20

Raport evaluator

Compilare: main.c: In function 'main': main.c:9:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 9 | fscanf(fin, "%d", &n); | ^~~~~~~~~~~~~~~~~~~~~ main.c:13:36: warning: iteration 9 invokes undefined behavior [-Waggressive-loop-optimizations] 13 | for(j=0; j<10; j++) arr[j] = 0; | ~~~~~~~^~~ main.c:13:19: note: within this loop 13 | for(j=0; j<10; j++) arr[j] = 0; | ~^~~ main.c:13:36: warning: '__builtin_memset' forming offset [36, 39] is out of the bounds [0, 36] of object 'arr' with type 'int[9]' [-Warray-bounds=] 13 | for(j=0; j<10; j++) arr[j] = 0; | ~~~~~~~^~~ main.c:3:5: note: 'arr' declared here 3 | int arr[9]; | ^~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 1 ms 245 kb OK 10
3 1 ms 245 kb Incorect 0
4 1 ms 507 kb Incorect 0
5 1 ms 245 kb Incorect 0
6 1 ms 245 kb Incorect 0
7 1 ms 245 kb Incorect 0
8 1 ms 245 kb Incorect 0
9 1 ms 245 kb Incorect 0
10 1 ms 245 kb Incorect 0
Punctaj total 20