Borderou de evaluare (job #3300795)

Utilizator ifrimdragosIfrim Dragos ifrimdragos Data 19 iunie 2025 07:28:25
Problema Paduri de multimi disjuncte Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 10

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:53:18: warning: iteration 100004 invokes undefined behavior [-Waggressive-loop-optimizations] 53 | father[i]=-1; | ~~~~~~~~~^~~ main.cpp:51:18: note: within this loop 51 | for(int i=1;i<=nmax;i++) | ~^~~~~~ main.cpp:53:18: warning: 'void* __builtin_memset(void*, int, long unsigned int)' forming offset [400020, 400023] is out of the bounds [0, 400020] of object 'father' with type 'int [100005]' [-Warray-bounds] 53 | father[i]=-1; | ~~~~~~~~~^~~ main.cpp:8:5: note: 'father' declared here 8 | int father[nmax]; | ^~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms557kbOK1010
211ms20885kbMemory limit exceeded00
311ms21078kbMemory limit exceeded00
411ms20963kbMemory limit exceeded00
511ms20897kbMemory limit exceeded00
611ms21086kbMemory limit exceeded0
711ms21102kbMemory limit exceeded0
814ms21024kbMemory limit exceeded00
913ms20930kbMemory limit exceeded00
1013ms20881kbMemory limit exceeded00
Punctaj total10

Ceva nu functioneaza?