Borderou de evaluare (job #3169419)

Utilizator TeodoraMaria123Serban Teodora Maria TeodoraMaria123 Data 14 noiembrie 2023 23:20:11
Problema Mstack Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 50

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:57:23: warning: comparison of integer expressions of different signedness: 'std::stack<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 57 | if(st1.size() != mij) | ~~~~~~~~~~~^~~~~~ main.cpp: In member function 'void mstack::pop()': main.cpp:96:23: warning: comparison of integer expressions of different signedness: 'std::stack<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 96 | if(st1.size() == mij + 1) | ~~~~~~~~~~~^~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK!10
29ms413kbKilled by Signal 110
30ms303kbOK!10
40ms303kbOK!10
51ms557kbOK!10
66ms413kbKilled by Signal 110
79ms413kbKilled by Signal 110
89ms864kbKilled by Signal 110
9108ms13320kbOK!10
1031ms3235kbKilled by Signal 110
Punctaj total50

Ceva nu functioneaza?