Borderou de evaluare (job #3377220)

Utilizator popescu_georgePopescu George popescu_george Data 22 noiembrie 2026 12:45:24
Problema Elementul majoritar Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:14:32: warning: 'l' may be used uninitialized [-Wmaybe-uninitialized] 14 | return j<<1>n?cout<<l<<' '<<j:cout<<-1,0; | ^~~ main.cpp:8:21: note: 'l' was declared here 8 | int j=0,k=0,l,n; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK10
20ms303kbOK10
30ms303kbOK10
40ms303kbOK10
52ms557kbOK10
64ms557kbOK10
74ms557kbOK10
819ms2117kbOK10
934ms4091kbOK10
1039ms4071kbOK10
Punctaj total100

Ceva nu functioneaza?