Borderou de evaluare (job #3195797)

Utilizator Iustin2812Ion Iustin Ciprian Iustin2812 Data 21 ianuarie 2024 19:27:13
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
36ms1257kbKilled by Signal 110
47ms1265kbKilled by Signal 110
57ms1286kbKilled by Signal 110
6501ms1572kbTime limit exceeded0
7501ms2342kbTime limit exceeded0
8502ms819kbTime limit exceeded0
9503ms819kbTime limit exceeded0
10501ms2101kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?