0_0_33777724_26772.cpp: In function 'int main()':
0_0_33777724_26772.cpp:24:18: error: no matching function for call to 'std::set<std::basic_string<char> >::count()'
cout<<st.count()<<endl;
^
0_0_33777724_26772.cpp:24:18: note: candidate is:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/set:61:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:86,
from 0_0_33777724_26772.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_set.h:683:7: note: std::set<_Key, _Compare, _Alloc>::size_type std::set<_Key, _Compare, _Alloc>::count(const key_type&) const [with _Key = std::basic_string<char>; _Compare = std::less<std::basic_string<char> >; _Alloc = std::allocator<std::basic_string<char> >; std::set<_Key, _Compare, _Alloc>::size_type = long long unsigned int; std::set<_Key, _Compare, _Alloc>::key_type = std::basic_string<char>]
count(const key_type& __x) const
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_set.h:683:7: note: candidate expects 1 argument, 0 provided
|