Borderou de evaluare (job #3200031)

Utilizator CastielGurita Adrian Castiel Data 3 februarie 2024 12:38:38
Problema Radix Sort Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:37:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 37 | for(int j=0;j<vec[i].size();j++) | ~^~~~~~~~~~~~~~ In file included from /usr/include/c++/12.2.1/vector:64, from main.cpp:3: In member function 'constexpr std::vector<_Tp, _Alloc>::size_type std::vector<_Tp, _Alloc>::size() const [with _Tp = int; _Alloc = std::allocator<int>]', inlined from 'int main()' at main.cpp:37:38: /usr/include/c++/12.2.1/bits/stl_vector.h:988:40: warning: iteration 1005 invokes undefined behavior [-Waggressive-loop-optimizations] 988 | { return size_type(this->_M_impl._M_finish - this->_M_impl._M_start); } | ~~~~~~~~~~~~~~^~~~~~~~~ main.cpp: In function 'int main()': main.cpp:35:22: note: within this loop 35 | for(int i=0;i<=MOD-1;i++) | ~^~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
13ms438kbKilled by Signal 1100
25ms1499kbKilled by Signal 110
312ms4427kbKilled by Signal 110
49ms4427kbKilled by Signal 1100
59ms4419kbKilled by Signal 110
69ms4431kbKilled by Signal 110
712ms4464kbKilled by Signal 110
89ms4419kbKilled by Signal 1100
99ms4423kbKilled by Signal 110
109ms4476kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?