Borderou de evaluare (job #3032392)

Utilizator AlexSerban21Serban Alexandru AlexSerban21 Data 22 martie 2023 09:17:07
Problema Radix Sort Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:28:16: warning: iteration 10 invokes undefined behavior [-Waggressive-loop-optimizations] 28 | s[i]+=s[i-1]; | ~~~^ main.cpp:27:20: note: within this loop 27 | for (i=1; i<=255; i++) | ~^~~~~ main.cpp:24:17: warning: iteration 11 invokes undefined behavior [-Waggressive-loop-optimizations] 24 | s[i]=0; | ~~~~^~ main.cpp:23:20: note: within this loop 23 | for (i=0; i<=255; i++) | ~^~~~~ main.cpp:24:17: warning: 'void* __builtin_memset(void*, int, long unsigned int)' forming offset [44, 1023] is out of the bounds [0, 44] of object 's' with type 'int [11]' [-Warray-bounds] 24 | s[i]=0; | ~~~~^~ main.cpp:5:50: note: 's' declared here 5 | int n,a,i,nrc,maxc,p,b,c,v[10000001],x[10000001],s[11]; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
117ms466kbKilled by Signal 1100
212ms1277kbKilled by Signal 110
314ms8413kbIncorect0
428ms8953kbKilled by Signal 1100
5232ms87326kbIncorect0
6257ms87339kbKilled by Signal 110
728ms8466kbKilled by Signal 110
8140ms80596kbKilled by Signal 1100
9143ms80613kbKilled by Signal 110
10139ms80613kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?