Borderou de evaluare (job #3277746)

Utilizator YuzukyIstrate Andreea Ruxandra Yuzuky Data 17 februarie 2025 13:09:53
Problema Hashuri Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:37:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 37 | for(int i=0; i<v[cate].size(); ++i) | ~^~~~~~~~~~~~~~~ main.cpp:47:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 47 | for(int i=0; i<v[cate].size(); ++i) | ~^~~~~~~~~~~~~~~ main.cpp:60:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 60 | for(int i=0; i<v[cate].size(); ++i) | ~^~~~~~~~~~~~~~~ main.cpp: In function 'int hashi(int)': main.cpp:22:12: warning: 'bucket' may be used uninitialized [-Wmaybe-uninitialized] 22 | return bucket; | ^~~~~~ main.cpp:15:9: note: 'bucket' was declared here 15 | int bucket, put=1; | ^~~~~~ In file included from /usr/include/c++/12.2.1/vector:64, from main.cpp:4: In member function 'constexpr void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = int; _Alloc = std::allocator<int>]', inlined from 'int main()' at main.cpp:43:34: /usr/include/c++/12.2.1/bits/stl_vector.h:1283:13: warning: 'bucket' may be used uninitialized [-Wmaybe-uninitialized] 1283 | ++this->_M_impl._M_finish; | ^~ main.cpp: In function 'int main()': main.cpp:15:9: note: 'bucket' was declared here 15 | int bucket, put=1; | ^~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
14ms303kbIncorect00
27ms409kbKilled by Signal 1100
310ms450kbKilled by Signal 1100
424ms20377kbKilled by Signal 1100
510ms413kbKilled by Signal 110
610ms417kbKilled by Signal 110
77ms417kbKilled by Signal 1100
810ms425kbKilled by Signal 1100
95ms413kbKilled by Signal 110
104ms434kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?