Borderou de evaluare (job #3202897)

Utilizator EdyIordacheIordache Eduard EdyIordache Data 12 februarie 2024 16:15:33
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
114ms37568kbMemory limit exceeded00
214ms37744kbMemory limit exceeded00
314ms37326kbMemory limit exceeded00
413ms37552kbMemory limit exceeded00
515ms37560kbMemory limit exceeded00
615ms37642kbMemory limit exceeded00
715ms37732kbMemory limit exceeded00
814ms37732kbMemory limit exceeded00
914ms37703kbMemory limit exceeded0
1019ms36904kbMemory limit exceeded0
Punctaj total0

Ceva nu functioneaza?