Borderou de evaluare (job #3032298)

Utilizator ecaterinaEcaterina Stefanescu ecaterina Data 21 martie 2023 21:41:19
Problema Artifact Status done
Runda Arhiva de probleme Compilator c-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.c: In function 'main': main.c:123:20: warning: iteration 25 invokes undefined behavior [-Waggressive-loop-optimizations] 123 | p[i] = pnou[i+1]; | ~~~~^~~~~ main.c:122:16: note: within this loop 122 | for (i=0; i<ALFAMAX; i++) { | ^ main.c:123:14: warning: '__builtin_memcpy' forming offset [208, 215] is out of the bounds [0, 208] of object 'pnou' with type 'long long int[26]' [-Warray-bounds] 123 | p[i] = pnou[i+1]; | ~~~~~^~~~~~~~~~~ main.c:12:15: note: 'pnou' declared here 12 | long long int pnou[ALFAMAX]; | ^~~~ main.c:124:19: warning: '__builtin_memcpy' forming offset [104, 107] is out of the bounds [0, 104] of object 'poate0nou' with type 'int[26]' [-Warray-bounds] 124 | poate0[i] = poate0nou[i+1]; | ~~~~~~~~~~^~~~~~~~~~~~~~~~ main.c:11:5: note: 'poate0nou' declared here 11 | int poate0nou[ALFAMAX]; | ^~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
124ms303kbOK7
224ms303kbOK7
314ms303kbOK7
424ms303kbOK7
524ms303kbOK7
624ms303kbOK7
719ms303kbOK8
824ms303kbOK8
924ms303kbOK8
1044ms303kbOK4
1179ms303kbOK5
1249ms303kbOK5
1329ms372kbOK5
1424ms303kbOK8
1524ms303kbOK7
Punctaj total100

Ceva nu functioneaza?