F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_38657234_13272.cpp: In function 'int main()':
0_0_38657234_13272.cpp:18:76: error: no match for 'operator==' (operand types are '__gnu_cxx::__alloc_traits<std::allocator<std::__cxx11::basic_string<char> >, std::__cxx11::basic_string<char> >::value_type' {aka 'std::__cxx11::basic_string<char>'} and 'std::vector<std::__cxx11::basic_string<char> >::iterator' {aka '__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char>*, std::vector<std::__cxx11::basic_string<char> > >'})
    if((find(A.begin(),A.end(),B[i])!=A.end())&&(find(C.begin(),C.end(),B[i]==C.end()))){
In file included from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/regex:62,
                 from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/x86_64-w64-mingw32/bits/stdc++.h:110,
                 from 0_0_38657234_13272.cpp:1:
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/regex.h:980:5: note: candidate: 'template<class _BiIter> bool std::__cxx11::operator==(const std::__cxx11::sub_match<_BiIter>&, const std::__cxx11::sub_match<_BiIter>&)'
     operator==(const sub_match<_BiIter>& __lhs, const sub_match<_BiIter>& __rhs)
     ^~~~~~~~
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/regex.h:980:5: note:   template argument deduction/substitution failed:
0_0_38657234_13272.cpp:18:84: note:   '__gnu_cxx::__alloc_traits<std::allocator<std::__cxx11::basic_string<char> >, std::__cxx11::basic_string<char> >::value_type' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::__cxx11::sub_match<_BiIter>'
    if((find(A.begin(),A.end(),B[i])!=A.end())&&(find(C.begin(),C.end(),B[i]==C.end()))){
                                                                                    ^
In file included from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/regex:62,
                 from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/x86_64-w64-mingw32/bits/stdc++.h:110,
                 from 0_0_38657234_13272.cpp:1:
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/regex.h:1053:5: note: candidate: 'template<class _Bi_iter, class _Ch_traits, class _Ch_alloc> bool std::__cxx11::operator==(std::__cxx11::__sub_match_string<_Bi_iter, _Ch_traits, _Ch_alloc>&, const std::__cxx11::sub_match<_BiIter>&)'
     operator==(const __sub_match_string<_Bi_iter, _Ch_traits, _Ch_alloc>& __lhs,
     ^~~~~~~~
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/regex.h:1053:5: note:   template argument deduction/substitution failed:
0_0_38657234_13272.cpp:18:84: note:   'std::vector<std::__cxx11::basic_string<char> >::iterator' {aka '__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char>*, std::vector<std::__cxx11::basic_string<char> > >'} is not derived from 'const std::__cxx11::sub_match<_BiIter>'
    if((find(A.begin(),A.end(),B[i])!=A.end())&&(find(C.begin(),C.end(),B[i]==C.end()))){
                                                                                    ^
In file included from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/regex:62,
                 from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/x86_64-w64-mingw32/bits/stdc++.h:110,
                 from 0_0_38657234_13272.cpp:1:
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/regex.h:1133:5: note: candidate: 'template<class _Bi_iter, class _Ch_traits, class _Ch_alloc> bool std::__cxx11::operator==(const std::__cxx11::sub_match<_BiIter>&, std::__cxx11::__sub_match_string<_Bi_iter, _Ch_traits, _Ch_alloc>&)'
     operator==(const sub_match<_Bi_iter>& __lhs,
     ^~~~~~~~
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/regex.h:1133:5: note:   template argument deduction/substitution failed:
0_0_38657234_13272.cpp:18:84: note:   '__gnu_cxx::__alloc_traits<std::allocator<std::__cxx11::basic_string<char> >, std::__cxx11::basic_string<char> >::value_type' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::__cxx11::sub_match<_BiIter>'
    if((find(A.begin(),A.end(),B[i])!=A.end())&&(find(C.begin(),C.end(),B[i]==C.end()))){
                                                                                    ^
In file included from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/regex:62,
                 from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/x86_64-w64-mingw32/bits/stdc++.h:110,
                 from 0_0_38657234_13272.cpp:1:
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/regex.h:1213:5: note: candidate: 'template<class _Bi_iter> bool std::__cxx11::operator==(const typename std::iterator_traits<_Iter>::value_type*, const std::__cxx11::sub_match<_BiIter>&)'
     operator==(typename iterator_traits<_Bi_iter>::value_type const* __lhs,
     ^~~~~~~~
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/regex.h:1213:5: note:   template argument deduction/substitution failed:
0_0_38657234_13272.cpp:18:84: note:   'std::vector<std::__cxx11::basic_string<char> >::iterator' {aka '__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char>*, std::vector<std::__cxx11::basic_string<char> > >'} is not derived from 'const std::__cxx11::sub_match<_BiIter>'
    if((find(A.begin(),A.end(),B[i])!=A.end())&&(find(C.begin(),C.end(),B[i]==C.end()))){
                                                                                    ^
In file included from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/regex:62,
                 from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/x86_64-w64-mingw32/bits/stdc++.h:110,
                 from 0_0_38657234_13272.cpp:1:
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/regex.h:1287:5: note: candidate: 'template<class _Bi_iter> bool std::__cxx11::operator==(const std::__cxx11::sub_match<_BiIter>&, const typename std::iterator_traits<_Iter>::value_type*)'
     operator==(const sub_match<_Bi_iter>& __lhs,
     ^~~~~~~~
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/regex.h:1287:5: note:   template argument deduction/substitution failed:
0_0_38657234_13272.cpp:18:84: note:   '__gnu_cxx::__alloc_traits<std::allocator<std::__cxx11::basic_string<char> >, std::__cxx11::basic_string<char> >::value_type' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::__cxx11::sub_match<_BiIter>'
    if((find(A.begin(),A.end(),B[i])!=A.end())&&(find(C.begin(),C.end(),B[i]==C.end()))){
                                                                                    ^
In file included from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/regex:62,
                 from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/x86_64-w64-mingw32/bits/stdc++.h:110,
                 from 0_0_38657234_13272.cpp:1:
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/regex.h:1361:5: note: candidate: 'template<class _Bi_iter> bool std::__cxx11::operator==(const typename std::iterator_traits<_Iter>::value_type&, const std::__cxx11::sub_match<_BiIter>&)'
     operator==(typename iterator_traits<_Bi_iter>::value_type const& __lhs,
     ^~~~~~~~
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/regex.h:1361:5: note:   template argument deduction/substitution failed:
0_0_38657234_13272.cpp:18:84: note:   'std::vector<std::__cxx11::basic_string<char> >::iterator' {aka '__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char>*, std::vector<std::__cxx11::basic_string<char> > >'} is not derived from 'const std::__cxx11::sub_match<_BiIter>'
    if((find(A.begin(),A.end(),B[i])!=A.end())&&(find(C.begin(),C.end(),B[i]==C.end()))){
                                                                                    ^
In file included from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/regex:62,
                 from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/x86_64-w64-mingw32/bits/stdc++.h:110,
                 from 0_0_38657234_13272.cpp:1:
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/regex.h:1441:5: note: candidate: 'template<class _Bi_iter> bool std::__cxx11::operator==(const std::__cxx11::sub_match<_BiIter>&, const typename std::iterator_traits<_Iter>::value_type&)'
     operator==(const sub_match<_Bi_iter>& __lhs,
     ^~~~~~~~
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/regex.h:1441:5: note:   template argument deduction/substitution failed:
0_0_38657234_13272.cpp:18:84: note:   '__gnu_cxx::__alloc_traits<std::allocator<std::__cxx11::basic_string<char> >, std::__cxx11::basic_string<char> >::value_type' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::__cxx11::sub_match<_BiIter>'
    if((find(A.begin(),A.end(),B[i])!=A.end())&&(find(C.begin(),C.end(),B[i]==C.end()))){
                                                                                    ^
In file included from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/regex:62,
                 from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/x86_64-w64-mingw32/bits/stdc++.h:110,
                 from 0_0_38657234_13272.cpp:1:
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/regex.h:1957:5: note: candidate: 'template<class _Bi_iter, class _Alloc> bool std::__cxx11::operator==(const std::__cxx11::match_results<_BiIter, _Alloc>&, const std::__cxx11::match_results<_BiIter, _Alloc>&)'
     operator==(const match_results<_Bi_iter, _Alloc>& __m1,
     ^~~~~~~~
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/regex.h:1957:5: note:   template argument deduction/substitution failed:
0_0_38657234_13272.cpp:18:84: note:   '__gnu_cxx::__alloc_tra


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-25 09:56:19, Gzip enabled