Borderou de evaluare (job #3277757)

Utilizator YuzukyIstrate Andreea Ruxandra Yuzuky Data 17 februarie 2025 13:16:44
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<long long 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<long long 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<long long 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:70, from main.cpp:4: In member function 'constexpr std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {long long int}; _Tp = long long int; _Alloc = std::allocator<long long int>]', inlined from 'constexpr void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = long long int; _Alloc = std::allocator<long long int>]' at /usr/include/c++/12.2.1/bits/stl_vector.h:1294:21, inlined from 'int main()' at main.cpp:43:34: /usr/include/c++/12.2.1/bits/vector.tcc:119:13: warning: 'bucket' may be used uninitialized [-Wmaybe-uninitialized] 119 | ++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
13ms303kbIncorect00
23ms303kbIncorect00
33ms561kbIncorect00
420ms18485kbKilled by Signal 1100
510ms409kbKilled by Signal 110
610ms409kbKilled by Signal 110
710ms454kbKilled by Signal 1100
87ms421kbKilled by Signal 1100
97ms409kbKilled by Signal 110
107ms458kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?