Borderou de evaluare (job #2930739)

Utilizator TheGodFather2131Alexandru Miclea TheGodFather2131 Data 29 octombrie 2022 14:35:39
Problema Prieteni2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 40

Raport evaluator

Compilare: main.cpp: In function 'void vclear()': main.cpp:72:17: warning: iteration 200004 invokes undefined behavior [-Waggressive-loop-optimizations] 72 | vaux[i] = 0; | ~~~~~~~~^~~ main.cpp:71:23: note: within this loop 71 | for (int i = 1; i <= 200005; i++) { | ~~^~~~~~~~~ main.cpp:72:17: warning: 'void* __builtin_memset(void*, int, long unsigned int)' forming offset [800020, 800023] is out of the bounds [0, 800020] of object 'vaux' with type 'int [200005]' [-Warray-bounds] 72 | vaux[i] = 0; | ~~~~~~~~^~~ main.cpp:65:5: note: 'vaux' declared here 65 | int vaux[200005]; | ^~~~ In function 'void vclear()', inlined from 'int main()' at main.cpp:116:19: main.cpp:72:17: warning: 'void* __builtin_memset(void*, int, long unsigned int)' forming offset [800020, 800023] is out of the bounds [0, 800020] of object 'vaux' with type 'int [200005]' [-Warray-bounds] 72 | vaux[i] = 0; | ~~~~~~~~^~~ main.cpp: In function 'int main()': main.cpp:65:5: note: 'vaux' declared here 65 | int vaux[200005]; | ^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
139ms1093kbOK1040
240ms1093kbOK10
345ms1101kbOK10
444ms1093kbOK10
5505ms1224kbTime limit exceeded00
6505ms1224kbTime limit exceeded0
7505ms1093kbTime limit exceeded0
8502ms1093kbTime limit exceeded00
9501ms1093kbTime limit exceeded0
10500ms1093kbTime limit exceeded0
Punctaj total40

Ceva nu functioneaza?