Borderou de evaluare (job #3313595)

Utilizator Alexia12345Maftei Alexia Alexia12345 Data 5 octombrie 2025 13:44:07
Problema Principiul includerii si excluderii Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void ciur()': main.cpp:14:13: warning: iteration 1000005 invokes undefined behavior [-Waggressive-loop-optimizations] 14 | p[i]=0; | ~~~~^~ main.cpp:13:18: note: within this loop 13 | for(int i=0;i<=1000005;i++) | ~^~~~~~~~~ main.cpp:16:15: warning: iteration 1000003 invokes undefined behavior [-Waggressive-loop-optimizations] 16 | if(p[i]==0) | ~~~^ main.cpp:15:18: note: within this loop 15 | for(int i=2;i<=1000005;i++) | ~^~~~~~~~~ main.cpp:14:13: warning: 'void* __builtin_memset(void*, int, long unsigned int)' forming offset [8000040, 8000047] is out of the bounds [0, 8000040] of object 'p' with type 'long long int [1000005]' [-Warray-bounds] 14 | p[i]=0; | ~~~~^~ main.cpp:9:23: note: 'p' declared here 9 | long long a, fp[55],r,p[1000005]; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
19ms8163kbIncorect00
29ms8159kbIncorect00
38ms8159kbIncorect00
412ms8159kbIncorect00
59ms8159kbIncorect00
69ms8159kbIncorect00
78ms8159kbIncorect00
89ms8159kbIncorect00
99ms8159kbIncorect0
109ms8159kbIncorect0
Punctaj total0

Ceva nu functioneaza?