Borderou de evaluare (job #3374096)

Utilizator nic150Musat Nicoleta nic150 Data 8 noiembrie 2026 17:41:41
Problema Componente tare conexe Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:61:15: warning: iteration 100000 invokes undefined behavior [-Waggressive-loop-optimizations] 61 | viz[i]=false; | ~~~~~~^~~~~~ main.cpp:60:18: note: within this loop 60 | for(int i=1;i<=sviz;i++) | ~^~~~~~ main.cpp:61:15: warning: 'void* __builtin_memset(void*, int, long unsigned int)' forming offset 100001 is out of the bounds [0, 100001] of object 'viz' with type 'bool [100001]' [-Warray-bounds] 61 | viz[i]=false; | ~~~~~~^~~~~~ main.cpp:15:6: note: 'viz' declared here 15 | bool viz[100001]; | ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
11ms303kbCorect1030
21ms303kbCorect10
31ms303kbCorect10
41ms557kbCorect1030
52ms819kbCorect10
64ms1605kbCorect10
74ms1867kbCorect1030
814ms4952kbCorect10
932ms12943kbCorect10
1037ms18210kbCorect1010
Punctaj total100

Ceva nu functioneaza?