Borderou de evaluare (job #1740060)

Utilizator xSliveSergiu xSlive Data 10 august 2016 19:21:27
Problema Facebook Status done
Runda Arhiva Monthly Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:16:29: error: could not convert ‘prieteni.std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::find<long unsigned int, long unsigned int, std::hash<long unsigned int>, std::equal_to<long unsigned int>, std::allocator<std::pair<const long unsigned int, long unsigned int> > >((* &((std::unordered_map<long unsigned int, long unsigned int>::key_type)el)))’ from ‘std::unordered_map<long unsigned int, long unsigned int>::iterator {aka std::__detail::_Node_iterator<std::pair<const long unsigned int, long unsigned int>, false, false>}’ to ‘bool’ if(prieteni.find(el)) prieteni[el]=prieteni[el]+1; ^ user.cpp:19:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(prieteni[el] == k) gata=1; ^

Ceva nu functioneaza?