Borderou de evaluare (job #610560)
Utilizator | Data | 28 august 2011 01:27:25 | |
---|---|---|---|
Problema | Egal | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function 'void dfs(int)':
user.cpp:47: warning: comparison between signed and unsigned integer expressions
user.cpp:50: error: 'hash_map' was not declared in this scope
user.cpp:50: error: expected primary-expression before 'int'
user.cpp:50: error: expected `;' before 'int'
user.cpp:50: error: no match for 'operator!=' in 'it != h[fiu2].std::tr1::unordered_map<int, int, std::tr1::hash<int>, std::equal_to<int>, std::allocator<std::pair<const int, int> >, false>::<anonymous>.std::tr1::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys>::end [with _Key = int, _Value = std::pair<const int, int>, _Allocator = std::allocator<std::pair<const int, int> >, _ExtractKey = std::_Select1st<std::pair<const int, int> >, _Equal = std::equal_to<int>, _H1 = std::tr1::hash<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 = false, bool __unique_keys = true]()'
user.cpp:51: error: request for member 'first' in '* it.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator-> [with _Iterator = int*, _Container = std::vector<int, std::allocator<int> >]()', which is of non-class type 'int'
user.cpp:51: error: request for member 'second' in '* it.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator-> [with _Iterator = int*, _Container = std::vector<int, std::allocator<int> >]()', which is of non-class type 'int'
user.cpp:51: error: request for member 'first' in '* it.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator-> [with _Iterator = int*, _Container = std::vector<int, std::allocator<int> >]()', which is of non-class type 'int'
user.cpp:54: error: request for member 'first' in '* it.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator-> [with _Iterator = int*, _Container = std::vector<int, std::allocator<int> >]()', which is of non-class type 'int'
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !