Borderou de evaluare (job #3167103)

Utilizator TeodoraMaria123Serban Teodora Maria TeodoraMaria123 Data 9 noiembrie 2023 23:13:52
Problema Mstack Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In member function 'void mstack::rebalance(std::stack<int>&, std::stack<int>&, int, int)': main.cpp:26:13: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 26 | int cnt = 0; | ^~~ main.cpp: In member function 'void mstack::push(int)': main.cpp:59:23: warning: comparison of integer expressions of different signedness: 'std::stack<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 59 | if(st1.size() != mij) | ~~~~~~~~~~~^~~~~~ main.cpp: In member function 'void mstack::pop()': main.cpp:90:23: warning: comparison of integer expressions of different signedness: 'std::stack<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 90 | if(st1.size() != mij) | ~~~~~~~~~~~^~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbIncorect!0
23ms438kbKilled by Signal 110
30ms303kbIncorect!0
40ms303kbIncorect!0
51ms557kbIncorect!0
63ms434kbKilled by Signal 110
73ms442kbKilled by Signal 110
87ms921kbKilled by Signal 110
9112ms16035kbIncorect!0
1025ms3522kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?