Borderou de evaluare (job #3154133)

Utilizator Alex_IonescuIonescu Alexandru Alex_Ionescu Data 3 octombrie 2023 13:06:56
Problema BFS - Parcurgere in latime Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 50

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:51:9: warning: iteration 1001 invokes undefined behavior [-Waggressive-loop-optimizations] 51 | d[i]=-1; | ~~~~^~~ main.cpp:50:18: note: within this loop 50 | for(int i=0;i<=NMAX+1;i++) | ~^~~~~~~~ main.cpp:51:9: warning: 'void* __builtin_memset(void*, int, long unsigned int)' forming offset [4004, 4007] is out of the bounds [0, 4004] of object 'd' with type 'int [1001]' [-Warray-bounds] 51 | d[i]=-1; | ~~~~^~~ main.cpp:10:5: note: 'd' declared here 10 | int d[NMAX+1]; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK10
20ms303kbOK10
30ms303kbOK10
41ms303kbOK10
52ms557kbOK10
611ms1740kbKilled by Signal 110
730ms3780kbKilled by Signal 110
831ms5341kbKilled by Signal 110
9151ms11038kbKilled by Signal 110
10151ms11083kbKilled by Signal 110
Punctaj total50

Ceva nu functioneaza?