Borderou de evaluare (job #3287040)

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

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:40:54: warning: 'ans' may be used uninitialized [-Wmaybe-uninitialized] 40 | 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
20ms303kbSubsir incorect!55
30ms303kbCorect!1010
40ms303kbCorect!1010
50ms303kbCorect!1010
60ms303kbCorect!1010
70ms303kbCorect!1010
89ms1081kbCorect!1030
95ms1081kbCorect!10
109ms1081kbCorect!10
Punctaj total95

Ceva nu functioneaza?