Borderou de evaluare (job #760044)

Utilizator andyvAndrei Vancea andyv Data 20 iunie 2012 03:04:14
Problema Dr Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void readTest(std::ifstream&)’: user.cpp:48: error: no matching function for call to ‘std::set<int, std::less<int>, std::allocator<int> >::count()’ /usr/include/c++/4.4/bits/stl_set.h:529: note: candidates are: typename std::_Rb_tree<_Key, _Key, std::_Identity<_Key>, _Compare, typename _Alloc::rebind<_Key>::other>::size_type std::set<_Key, _Compare, _Alloc>::count(const _Key&) const [with _Key = int, _Compare = std::less<int>, _Alloc = std::allocator<int>] user.cpp:48: error: no matching function for call to ‘std::set<int, std::less<int>, std::allocator<int> >::count()’ /usr/include/c++/4.4/bits/stl_set.h:529: note: candidates are: typename std::_Rb_tree<_Key, _Key, std::_Identity<_Key>, _Compare, typename _Alloc::rebind<_Key>::other>::size_type std::set<_Key, _Compare, _Alloc>::count(const _Key&) const [with _Key = int, _Compare = std::less<int>, _Alloc = std::allocator<int>] user.cpp: At global scope: user.cpp:116: warning: ISO C++ forbids declaration of ‘main’ with no type

Ceva nu functioneaza?