Borderou de evaluare (job #3169416)

Utilizator TeodoraMaria123Serban Teodora Maria TeodoraMaria123 Data 14 noiembrie 2023 23:13:03
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:91:23: warning: comparison of integer expressions of different signedness: 'std::stack<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 91 | if(st1.size() == mij + 1) | ~~~~~~~~~~~^~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK!10
24ms417kbKilled by Signal 110
30ms303kbOK!10
40ms303kbOK!10
51ms557kbOK!10
65ms417kbKilled by Signal 110
74ms413kbKilled by Signal 110
89ms868kbKilled by Signal 110
9108ms13398kbOK!10
1031ms3231kbKilled by Signal 110
Punctaj total50

Ceva nu functioneaza?