Borderou de evaluare (job #3287045)

Utilizator average_disappointmentManolache Sebastian average_disappointment Data 14 martie 2025 23:44:41
Problema Subsir crescator maximal Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int binary_search(int, int)': main.cpp:23:12: warning: 'ans' may be used uninitialized [-Wmaybe-uninitialized] 23 | return ans; | ^~~ main.cpp:15:25: note: 'ans' was declared here 15 | int l = 1, r = len, ans; | ^~~ main.cpp: In function 'int main()': main.cpp:41:54: warning: 'ans' may be used uninitialized [-Wmaybe-uninitialized] 41 | p[i] = binary_search(v[i], len), d[p[i]] = v[i]; | ~~~~~~~~^~~~~~ main.cpp:15:25: note: 'ans' was declared here 15 | int l = 1, r = len, ans; | ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms303kbCorect!1010
20ms372kbCorect!1010
30ms303kbCorect!1010
40ms303kbCorect!1010
50ms303kbCorect!1010
60ms303kbCorect!1010
70ms303kbCorect!1010
89ms929kbCorect!1030
94ms557kbCorect!10
109ms1081kbCorect!10
Punctaj total100

Ceva nu functioneaza?