museum.cpp: In function 'long long int CountSimilarPairs(std::vector<int>, std::vector<int>, std::vector<int>)':
museum.cpp:33:35: error: no matching function for call to 'std::set<std::pair<int, int> >::count()'
return (long long)set_pair.count();
^
In file included from /usr/include/c++/7/set:61:0,
from museum.cpp:2:
/usr/include/c++/7/bits/stl_set.h:738:7: note: candidate: std::set<_Key, _Compare, _Alloc>::size_type std::set<_Key, _Compare, _Alloc>::count(const key_type&) const [with _Key = std::pair<int, int>; _Compare = std::less<std::pair<int, int> >; _Alloc = std::allocator<std::pair<int, int> >; std::set<_Key, _Compare, _Alloc>::size_type = long unsigned int; std::set<_Key, _Compare, _Alloc>::key_type = std::pair<int, int>]
count(const key_type& __x) const
^~~~~
/usr/include/c++/7/bits/stl_set.h:738:7: note: candidate expects 1 argument, 0 provided
/usr/include/c++/7/bits/stl_set.h:744:2: note: candidate: template<class _Kt> decltype (((const std::set<_Key, _Compare, _Alloc>*)this)->std::set<_Key, _Compare, _Alloc>::_M_t._M_count_tr(__x)) std::set<_Key, _Compare, _Alloc>::count(const _Kt&) const [with _Kt = _Kt; _Key = std::pair<int, int>; _Compare = std::less<std::pair<int, int> >; _Alloc = std::allocator<std::pair<int, int> >]
count(const _Kt& __x) const
^~~~~
/usr/include/c++/7/bits/stl_set.h:744:2: note: template argument deduction/substitution failed:
museum.cpp:33:35: note: candidate expects 1 argument, 0 provided
return (long long)set_pair.count();
^
museum.cpp:9:12: warning: unused variable 'count' [-Wunused-variable]
long long count = 0;
^~~~~