Borderou de evaluare (job #3195800)

Utilizator Iustin2812Ion Iustin Ciprian Iustin2812 Data 21 ianuarie 2024 19:29:55
Problema Arbore partial de cost minim Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void viz0()': main.cpp:18:19: warning: iteration 200000 invokes undefined behavior [-Waggressive-loop-optimizations] 18 | viz[i]=0; | ~~~~~~^~ main.cpp:17:18: note: within this loop 17 | for(int i=1;i<=200001;i++) | ~^~~~~~~~ main.cpp:18:19: warning: 'void* __builtin_memset(void*, int, long unsigned int)' forming offset [800004, 800007] is out of the bounds [0, 800004] of object 'viz' with type 'int [200001]' [-Warray-bounds] 18 | viz[i]=0; | ~~~~~~^~ main.cpp:14:18: note: 'viz' declared here 14 | int cost[400001],viz[200001]; | ^~~ In function 'void viz0()', inlined from 'int main()' at main.cpp:75:17: main.cpp:18:19: warning: 'void* __builtin_memset(void*, int, long unsigned int)' forming offset [800004, 800007] is out of the bounds [0, 800004] of object 'viz' with type 'int [200001]' [-Warray-bounds] 18 | viz[i]=0; | ~~~~~~^~ main.cpp: In function 'int main()': main.cpp:14:18: note: 'viz' declared here 14 | int cost[400001],viz[200001]; | ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
11ms1081kbSolutia nu e afisata in format corect!0
21ms1081kbSolutia nu e afisata in format corect!0
37ms1265kbKilled by Signal 110
49ms1253kbKilled by Signal 110
57ms1302kbKilled by Signal 110
6504ms1667kbTime limit exceeded0
7500ms2342kbTime limit exceeded0
8502ms823kbTime limit exceeded0
9502ms819kbTime limit exceeded0
10500ms2285kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?