Borderou de evaluare (job #3154138)

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

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:51:9: warning: iteration 100001 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 [400004, 400011] is out of the bounds [0, 400004] of object 'd' with type 'int [100001]' [-Warray-bounds] 51 | d[i]=-1; | ~~~~^~~ main.cpp:10:5: note: 'd' declared here 10 | int d[NMAX]; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
11ms557kbOK10
21ms557kbOK10
31ms557kbOK10
41ms819kbOK10
52ms819kbOK10
69ms2129kbOK10
729ms4333kbOK10
824ms5918kbOK10
9153ms11821kbOK10
10158ms11804kbOK10
Punctaj total100

Ceva nu functioneaza?