Borderou de evaluare (job #3167079)

Utilizator TeodoraMaria123Serban Teodora Maria TeodoraMaria123 Data 9 noiembrie 2023 22:37:59
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:27:13: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 27 | 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
66ms770kbKilled by Signal 110
721ms2789kbKilled by Signal 110
87ms925kbKilled by Signal 110
9112ms15949kbIncorect!0
1026ms3522kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?