Borderou de evaluare (job #3169411)

Utilizator TeodoraMaria123Serban Teodora Maria TeodoraMaria123 Data 14 noiembrie 2023 23:05:47
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:25:13: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 25 | int cnt = 0; | ^~~ main.cpp: In member function 'void mstack::push(int)': main.cpp:55:23: warning: comparison of integer expressions of different signedness: 'std::stack<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 55 | if(st1.size() != mij) | ~~~~~~~~~~~^~~~~~ main.cpp: In member function 'void mstack::pop()': main.cpp:85:23: warning: comparison of integer expressions of different signedness: 'std::stack<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 85 | if(st1.size() == mij + 1) | ~~~~~~~~~~~^~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK!10
26ms413kbKilled by Signal 110
30ms303kbOK!10
40ms303kbOK!10
51ms557kbOK!10
64ms413kbKilled by Signal 110
79ms417kbKilled by Signal 110
812ms864kbKilled by Signal 110
9108ms13393kbOK!10
1031ms3231kbKilled by Signal 110
Punctaj total50

Ceva nu functioneaza?