Borderou de evaluare (job #3202898)

Utilizator EdyIordacheIordache Eduard EdyIordache Data 12 februarie 2024 16:16:07
Problema Subsir crescator maximal Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:35:29: warning: comparison of integer expressions of different signedness: 'std::stack<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 35 | if (v[i].size() > mx) { | ~~~~~~~~~~~~^~~~ In file included from /usr/include/c++/12.2.1/deque:64, from /usr/include/c++/12.2.1/stack:60, from main.cpp:6: In member function 'void std::deque<_Tp, _Alloc>::pop_back() [with _Tp = int; _Alloc = std::allocator<int>]', inlined from 'void std::stack<_Tp, _Sequence>::pop() [with _Tp = int; _Sequence = std::deque<int, std::allocator<int> >]' at /usr/include/c++/12.2.1/bits/stl_stack.h:296:12, inlined from 'int main()' at main.cpp:47:19: /usr/include/c++/12.2.1/bits/stl_deque.h:1603:13: warning: 'imx' may be used uninitialized [-Wmaybe-uninitialized] 1603 | --this->_M_impl._M_finish._M_cur; | ^~ main.cpp: In function 'int main()': main.cpp:32:17: note: 'imx' was declared here 32 | int mx = 0, imx; | ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
114ms37691kbMemory limit exceeded00
215ms37527kbMemory limit exceeded00
317ms37584kbMemory limit exceeded00
418ms37552kbMemory limit exceeded00
518ms37588kbMemory limit exceeded00
617ms37531kbMemory limit exceeded00
717ms37744kbMemory limit exceeded00
814ms37588kbMemory limit exceeded00
915ms37584kbMemory limit exceeded0
1016ms37666kbMemory limit exceeded0
Punctaj total0

Ceva nu functioneaza?