Borderou de evaluare (job #3196564)

Utilizator Iustin2812Ion Iustin Ciprian Iustin2812 Data 24 ianuarie 2024 11:31:48
Problema Arbore partial de cost minim Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 50

Raport evaluator

Compilare: main.cpp: In function 'void viz0()': main.cpp:19:20: warning: iteration 200000 invokes undefined behavior [-Waggressive-loop-optimizations] 19 | tata[i]=-1; | ~~~~~~~^~~ main.cpp:18:18: note: within this loop 18 | for(int i=1;i<=200001;i++) | ~^~~~~~~~ main.cpp:19:20: warning: 'void* __builtin_memset(void*, int, long unsigned int)' forming offset [800004, 800007] is out of the bounds [0, 800004] of object 'tata' with type 'int [200001]' [-Warray-bounds] 19 | tata[i]=-1; | ~~~~~~~^~~ main.cpp:14:5: note: 'tata' declared here 14 | int tata[200001]; | ^~~~ In function 'void viz0()', inlined from 'int main()' at main.cpp:66:9: main.cpp:19:20: warning: 'void* __builtin_memset(void*, int, long unsigned int)' forming offset [800004, 800007] is out of the bounds [0, 800004] of object 'tata' with type 'int [200001]' [-Warray-bounds] 19 | tata[i]=-1; | ~~~~~~~^~~ main.cpp: In function 'int main()': main.cpp:14:5: note: 'tata' declared here 14 | int tata[200001]; | ^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
11ms1081kbCorect10
21ms1081kbCorect10
31ms1081kbCorect10
41ms1081kbCorect10
52ms1081kbCorect10
6501ms2473kbTime limit exceeded0
7500ms3125kbTime limit exceeded0
8502ms1605kbTime limit exceeded0
9501ms1626kbTime limit exceeded0
10500ms3092kbTime limit exceeded0
Punctaj total50

Ceva nu functioneaza?