Borderou de evaluare (job #3333326)

Utilizator milena.vttLatea Milena milena.vtt Data 13 ianuarie 2026 09:44:53
Problema TDeque Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 20

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:54:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::deque<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 54 | for(int i=0; i<m.size(); i++) | ~^~~~~~~~~ main.cpp:70:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::deque<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 70 | if(pozmin>m.size()/2) | ~~~~~~^~~~~~~~~~~ main.cpp:86:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::deque<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 86 | if(poz>m.size()/2) | ~~~^~~~~~~~~~~ main.cpp:107:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::deque<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 107 | if(poz>m.size()/2) | ~~~^~~~~~~~~~~ main.cpp:117:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 117 | for(int i=0; i<o.size(); i++) | ~^~~~~~~~~ main.cpp:33:16: warning: unused variable 'cnt' [-Wunused-variable] 33 | int n, cnt=0, small=9999, minok=0, pozmin, poz=0; | ^~~ main.cpp:70:28: warning: 'pozmin' may be used uninitialized [-Wmaybe-uninitialized] 70 | if(pozmin>m.size()/2) | ^~~~~~ main.cpp:33:44: note: 'pozmin' was declared here 33 | int n, cnt=0, small=9999, minok=0, pozmin, poz=0; | ^~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbCorect!10
20ms303kbCorect!10
30ms303kbIncorect!0
40ms303kbIncorect!0
51ms303kbIncorect!0
62ms946kbIncorect!0
73ms946kbIncorect!0
814ms2629kbIncorect!0
914ms2736kbIncorect!0
1014ms2732kbIncorect!0
Punctaj total20

Ceva nu functioneaza?