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_24505636_8700.cpp: In function 'int main()':
0_0_24505636_8700.cpp:103:9: error: no match for 'operator==' (operand types are 'Edge' and 'Edge')
 if(e1[i]==e2[j])
         ^
0_0_24505636_8700.cpp:103:9: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:62:0,
                 from 0_0_24505636_8700.cpp:7:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_multimap.h:903:5: note: template<class _Key, class _Tp, class _Compare, class _Alloc> bool std::operator==(const std::multimap<_Key, _Tp, _Compare, _Alloc>&, const std::multimap<_Key, _Tp, _Compare, _Alloc>&)
     operator==(const multimap<_Key, _Tp, _Compare, _Alloc>& __x,
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_multimap.h:903:5: note:   template argument deduction/substitution failed:
0_0_24505636_8700.cpp:103:15: note:   'Edge' is not derived from 'const std::multimap<_Key, _Tp, _Compare, _Alloc>'
 if(e1[i]==e2[j])
               ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_24505636_8700.cpp:7:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:1000:5: note: template<class _Key, class _Tp, class _Compare, class _Alloc> bool std::operator==(const std::map<_Key, _Tp, _Compare, _Alloc>&, const std::map<_Key, _Tp, _Compare, _Alloc>&)
     operator==(const map<_Key, _Tp, _Compare, _Alloc>& __x,
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:1000:5: note:   template argument deduction/substitution failed:
0_0_24505636_8700.cpp:103:15: note:   'Edge' is not derived from 'const std::map<_Key, _Tp, _Compare, _Alloc>'
 if(e1[i]==e2[j])
               ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:63:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61,
                 from 0_0_24505636_8700.cpp:7:
GCC4.9.2/x86_64-w64-mingw32/include/c++/tuple:846:5: note: template<class ... _TElements, class ... _UElements> constexpr bool std::operator==(const std::tuple<_Args1 ...>&, const std::tuple<_Args2 ...>&)
     operator==(const tuple<_TElements...>& __t,
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/tuple:846:5: note:   template argument deduction/substitution failed:
0_0_24505636_8700.cpp:103:15: note:   'Edge' is not derived from 'const std::tuple<_Args1 ...>'
 if(e1[i]==e2[j])
               ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/tuple:39:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:63,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61,
                 from 0_0_24505636_8700.cpp:7:
GCC4.9.2/x86_64-w64-mingw32/include/c++/array:232:5: note: template<class _Tp, long long unsigned int _Nm> bool std::operator==(const std::array<_Tp, _Nm>&, const std::array<_Tp, _Nm>&)
     operator==(const array<_Tp, _Nm>& __one, const array<_Tp, _Nm>& __two)
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/array:232:5: note:   template argument deduction/substitution failed:
0_0_24505636_8700.cpp:103:15: note:   'Edge' is not derived from 'const std::array<_Tp, _Nm>'
 if(e1[i]==e2[j])
               ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:60:0,
                 from 0_0_24505636_8700.cpp:7:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h:970:5: note: template<class _Key, class _Val, class _KeyOfValue, class _Compare, class _Alloc> bool std::operator==(const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>&, const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>&)
     operator==(const _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>& __x,
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h:970:5: note:   template argument deduction/substitution failed:
0_0_24505636_8700.cpp:103:15: note:   'Edge' is not derived from 'const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>'
 if(e1[i]==e2[j])
               ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:60:0,
                 from 0_0_24505636_8700.cpp:7:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h:323:5: note: template<class _Val> bool std::operator==(const std::_Rb_tree_iterator<_Tp>&, const std::_Rb_tree_const_iterator<_Val>&)
     operator==(const _Rb_tree_iterator<_Val>& __x,
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h:323:5: note:   template argument deduction/substitution failed:
0_0_24505636_8700.cpp:103:15: note:   'Edge' is not derived from 'const std::_Rb_tree_iterator<_Tp>'
 if(e1[i]==e2[j])
               ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/locale_facets.h:48:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_ios.h:37,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:44,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
                 from 0_0_24505636_8700.cpp:6:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/streambuf_iterator.h:204:5: note: template<class _CharT, class _Traits> bool std::operator==(const std::istreambuf_iterator<_CharT, _Traits>&, const std::istreambuf_iterator<_CharT, _Traits>&)
     operator==(const istreambuf_iterator<_CharT, _Traits>& __a,
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/streambuf_iterator.h:204:5: note:   template argument deduction/substitution failed:
0_0_24505636_8700.cpp:103:15: note:   'Edge' is not derived from 'const std::istreambuf_iterator<_CharT, _Traits>'
 if(e1[i]==e2[j])
               ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:51:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
                 from 0_0_24505636_8700.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/random.tcc:2030:5: note: template<class _RealType1> bool std::operator==(const std::normal_distribution<_RealType>&, const std::normal_distribution<_RealType>&)
     operator==(const std::normal_distribution<_RealType>& __d1,
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/random.tcc:2030:5: note:   template argument deduction/substitution failed:
0_0_24505636_8700.cpp:103:15: note:   'Edge' is not derived from 'const std::normal_distribution<_RealType>'
 if(e1[i]==e2[j])
               ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:64:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/random.h:34,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:49,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
                 from 0_0_24505636_8700.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:1511:5: note: template<class _Tp, class _Alloc> bool std::operator==(const std::vector<_Tp, _Alloc>&, const std::vector<_Tp, _Alloc>&)
     operator==(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y)
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:1511:5: note:   template argument deduction/substitution failed:
0_0_24505636_8700.cpp:103:15: note:   'Edge' is not derived from 'const std::vector<_Tp, _Alloc>'
 if(e1[i]==e2[j])
               ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:52:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:40,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
                 from 0_0_24505636_8700.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2538:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const std::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)
     operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2538:5: note:   template argument deduction/substitution failed:
0_0_24505636_8700.cpp:103:15: note:   'Edge' is not derived from 'const std::basic_string<_CharT, _Traits, _Alloc>'
 if(e1[i]==e2[j])
               ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:52:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:40,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
                 from 0_0_24505636_8700.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2526:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const _CharT*, const std::basic_string<_CharT, _Traits, _Alloc>&)
     operator==(const _CharT* __lhs,
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2526:5: note:   template argument deduction/substitution failed:
0_0_24505636_8


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-16 10:56:14, Gzip enabled