Problem | uniquenumbers |
---|---|
User | Hengweezy |
Submission Time | 2024-02-02 13:35:42 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
uniquenumbers.cpp: In function ‘int main()’:
uniquenumbers.cpp:14:10: error: could not convert ‘std::find<__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char>*, std::vector<std::__cxx11::basic_string<char> > >, std::__cxx11::basic_string<char> >(v.std::vector<std::__cxx11::basic_string<char> >::begin(), v.std::vector<std::__cxx11::basic_string<char> >::end(), k)’ from ‘__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char>*, std::vector<std::__cxx11::basic_string<char> > >’ to ‘bool’
14 | if(find(v.begin(),v.end(), k)){
| ~~~~^~~~~~~~~~~~~~~~~~~~~~
| |
| __gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char>*, std::vector<std::__cxx11::basic_string<char> > >
uniquenumbers.cpp:19:7: error: invalid use of non-static member function ‘std::vector<_Tp, _Alloc>::size_type std::vector<_Tp, _A