Borderou de evaluare (job #857777)
Utilizator | Data | 18 ianuarie 2013 12:48:31 | |
---|---|---|---|
Problema | Knumere | Status | done |
Runda | ichb-locala-2013-11-12 | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:21: warning: comparison between signed and unsigned integer expressions
In file included from /usr/include/c++/4.4/tr1_impl/hashtable:48,
from /usr/include/c++/4.4/tr1/hashtable.h:46,
from /usr/include/c++/4.4/tr1/unordered_set:45,
from user.cpp:4:
/usr/include/c++/4.4/tr1_impl/hashtable_policy.h: In member function ‘size_t std::tr1::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _Equal, _H1, _H2, std::tr1::__detail::_Default_ranged_hash, false>::_M_hash_code(const _Key&) const [with _Key = long long int, _Value = long long int, _ExtractKey = std::_Identity<long long int>, _Equal = std::equal_to<long long int>, _H1 = std::greater<long long int>, _H2 = std::tr1::__detail::_Mod_range_hashing]’:
/usr/include/c++/4.4/tr1_impl/hashtable:784: instantiated from ‘std::tr1::__detail::_Hashtable_iterator<_Value, __constant_iterators, __cache_hash_code> std::tr1::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys>::find(const _Key&) [with _Key = long long int, _Value = long long int, _Allocator = std::allocator<long long int>, _ExtractKey = std::_Identity<long long int>, _Equal = std::equal_to<long long int>, _H1 = std::greater<long long int>, _H2 = std::tr1::__detail::_Mod_range_hashing, _Hash = std::tr1::__detail::_Default_ranged_hash, _RehashPolicy = std::tr1::__detail::_Prime_rehash_policy, bool __cache_hash_code = false, bool __constant_iterators = true, bool __unique_keys = false]’
user.cpp:24: instantiated from here
/usr/include/c++/4.4/tr1_impl/hashtable_policy.h:754: error: no match for call to ‘(const std::greater<long long int>) (const long long int&)’
/usr/include/c++/4.4/bits/stl_function.h:220: note: candidates are: bool std::greater<_Tp>::operator()(const _Tp&, const _Tp&) const [with _Tp = long long int]
/usr/include/c++/4.4/tr1_impl/hashtable_policy.h: In member function ‘size_t std::tr1::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _Equal, _H1, _H2, std::tr1::__detail::_Default_ranged_hash, false>::_M_bucket_index(const std::tr1::__detail::_Hash_node<_Value, false>*, size_t) const [with _Key = long long int, _Value = long long int, _ExtractKey = std::_Identity<long long int>, _Equal = std::equal_to<long long int>, _H1 = std::greater<long long int>, _H2 = std::tr1::__detail::_Mod_range_hashing]’:
/usr/include/c++/4.4/tr1_impl/hashtable:1242: instantiated from ‘void std::tr1::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys>::_M_rehash(typename _Allocator::size_type) [with _Key = long long int, _Value = long long int, _Allocator = std::allocator<long long int>, _ExtractKey = std::_Identity<long long int>, _Equal = std::equal_to<long long int>, _H1 = std::greater<long long int>, _H2 = std::tr1::__detail::_Mod_range_hashing, _Hash = std::tr1::__detail::_Default_ranged_hash, _RehashPolicy = std::tr1::__detail::_Prime_rehash_policy, bool __cache_hash_code = false, bool __constant_iterators = true, bool __unique_keys = false]’
/usr/include/c++/4.4/tr1_impl/hashtable:1004: instantiated from ‘std::tr1::__detail::_Hashtable_iterator<_Value, __constant_iterators, __cache_hash_code> std::tr1::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys>::_M_insert(const _Value&, std::tr1::false_type) [with _Key = long long int, _Value = long long int, _Allocator = std::allocator<long long int>, _ExtractKey = std::_Identity<long long int>, _Equal = std::equal_to<long long int>, _H1 = std::greater<long long int>, _H2 = std::tr1::__detail::_Mod_range_hashing, _Hash = std::tr1::__detail::_Default_ranged_hash, _RehashPolicy = std::tr1::__detail::_Prime_rehash_policy, bool __cache_hash_code = false, bool __constant_iterators = true, bool __unique_keys = false]’
/usr/include/c++/4.4/tr1_impl/hashtable:420: instantiated from ‘typename __gnu_cxx::__conditional_type<__unique_keys, std::pair<std::tr1::__detail::_Hashtable_iterator<_Value, __constant_iterators, __cache_hash_code>, bool>, std::tr1::__detail::_Hashtable_iterator<_Value, __constant_iterators, __cache_hash_code> >::__type std::tr1::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys>::insert(const _Value&) [with _Key = long long int, _Value = long long int, _Allocator = std::allocator<long long int>, _ExtractKey = std::_Identity<long long int>, _Equal = std::equal_to<long long int>, _H1 = std::greater<long long int>, _H2 = std::tr1::__detail::_Mod_range_hashing, _Hash = std::tr1::__detail::_Default_ranged_hash, _RehashPolicy = std::tr1::__detail::_Prime_rehash_policy, bool __cache_hash_code = false, bool __constant_iterators = true, bool __unique_keys = false]’
user.cpp:22: instantiated from here
/usr/include/c++/4.4/tr1_impl/hashtable_policy.h:764: error: no match for call to ‘(const std::greater<long long int>) (const long long int&)’
/usr/include/c++/4.4/bits/stl_function.h:220: note: candidates are: bool std::greater<_Tp>::operator()(const _Tp&, const _Tp&) const [with _Tp = long long int]
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !