0_0_22260954_30713.cpp:69:1: error: stray '\326' in program
主函数已给定如下,提交时不需要包含,会自动添加到程序尾部
^
0_0_22260954_30713.cpp:69:1: error: stray '\367' in program
0_0_22260954_30713.cpp:69:1: error: stray '\272' in program
0_0_22260954_30713.cpp:69:1: error: stray '\257' in program
0_0_22260954_30713.cpp:69:1: error: stray '\312' in program
0_0_22260954_30713.cpp:69:1: error: stray '\375' in program
0_0_22260954_30713.cpp:69:1: error: stray '\322' in program
0_0_22260954_30713.cpp:69:1: error: stray '\321' in program
0_0_22260954_30713.cpp:69:1: error: stray '\270' in program
0_0_22260954_30713.cpp:69:1: error: stray '\370' in program
0_0_22260954_30713.cpp:69:1: error: stray '\266' in program
0_0_22260954_30713.cpp:69:1: error: stray '\250' in program
0_0_22260954_30713.cpp:69:1: error: stray '\310' in program
0_0_22260954_30713.cpp:69:1: error: stray '\347' in program
0_0_22260954_30713.cpp:69:1: error: stray '\317' in program
0_0_22260954_30713.cpp:69:1: error: stray '\302' in program
0_0_22260954_30713.cpp:69:1: error: stray '\243' in program
0_0_22260954_30713.cpp:69:1: error: stray '\254' in program
0_0_22260954_30713.cpp:69:1: error: stray '\314' in program
0_0_22260954_30713.cpp:69:1: error: stray '\341' in program
0_0_22260954_30713.cpp:69:1: error: stray '\275' in program
0_0_22260954_30713.cpp:69:1: error: stray '\273' in program
0_0_22260954_30713.cpp:69:1: error: stray '\312' in program
0_0_22260954_30713.cpp:69:1: error: stray '\261' in program
0_0_22260954_30713.cpp:69:1: error: stray '\262' in program
0_0_22260954_30713.cpp:69:1: error: stray '\273' in program
0_0_22260954_30713.cpp:69:1: error: stray '\320' in program
0_0_22260954_30713.cpp:69:1: error: stray '\350' in program
0_0_22260954_30713.cpp:69:1: error: stray '\322' in program
0_0_22260954_30713.cpp:69:1: error: stray '\252' in program
0_0_22260954_30713.cpp:69:1: error: stray '\260' in program
0_0_22260954_30713.cpp:69:1: error: stray '\374' in program
0_0_22260954_30713.cpp:69:1: error: stray '\272' in program
0_0_22260954_30713.cpp:69:1: error: stray '\254' in program
0_0_22260954_30713.cpp:69:1: error: stray '\243' in program
0_0_22260954_30713.cpp:69:1: error: stray '\254' in program
0_0_22260954_30713.cpp:69:1: error: stray '\273' in program
0_0_22260954_30713.cpp:69:1: error: stray '\341' in program
0_0_22260954_30713.cpp:69:1: error: stray '\327' in program
0_0_22260954_30713.cpp:69:1: error: stray '\324' in program
0_0_22260954_30713.cpp:69:1: error: stray '\266' in program
0_0_22260954_30713.cpp:69:1: error: stray '\257' in program
0_0_22260954_30713.cpp:69:1: error: stray '\314' in program
0_0_22260954_30713.cpp:69:1: error: stray '\355' in program
0_0_22260954_30713.cpp:69:1: error: stray '\274' in program
0_0_22260954_30713.cpp:69:1: error: stray '\323' in program
0_0_22260954_30713.cpp:69:1: error: stray '\265' in program
0_0_22260954_30713.cpp:69:1: error: stray '\275' in program
0_0_22260954_30713.cpp:69:1: error: stray '\263' in program
0_0_22260954_30713.cpp:69:1: error: stray '\314' in program
0_0_22260954_30713.cpp:69:1: error: stray '\320' in program
0_0_22260954_30713.cpp:69:1: error: stray '\362' in program
0_0_22260954_30713.cpp:69:1: error: stray '\316' in program
0_0_22260954_30713.cpp:69:1: error: stray '\262' in program
0_0_22260954_30713.cpp:69:1: error: stray '\262' in program
0_0_22260954_30713.cpp:69:1: error: stray '\277' in program
0_0_22260954_30713.cpp: In function 'int main()':
0_0_22260954_30713.cpp:113:18: error: no match for 'operator+' (operand types are 'Complex' and 'Complex')
Complex c3=c1+c2;
^
0_0_22260954_30713.cpp:113:18: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:67:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
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_22260954_30713.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:334:5: note: template<class _Iterator> std::reverse_iterator<_Iterator> std::operator+(typename std::reverse_iterator<_Iterator>::difference_type, const std::reverse_iterator<_Iterator>&)
operator+(typename reverse_iterator<_Iterator>::difference_type __n,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:334:5: note: template argument deduction/substitution failed:
0_0_22260954_30713.cpp:113:19: note: 'Complex' is not derived from 'const std::reverse_iterator<_Iterator>'
Complex c3=c1+c2;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:67:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
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_22260954_30713.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:1135:5: note: template<class _Iterator> std::move_iterator<_Iterator> std::operator+(typename std::move_iterator<_Iterator>::difference_type, const std::move_iterator<_Iterator>&)
operator+(typename move_iterator<_Iterator>::difference_type __n,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:1135:5: note: template argument deduction/substitution failed:
0_0_22260954_30713.cpp:113:19: note: 'Complex' is not derived from 'const std::move_iterator<_Iterator>'
Complex c3=c1+c2;
^
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++/bits/locale_classes.h:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:41,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:42,
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_22260954_30713.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2384:5: note: template<class _CharT, class _Traits, class _Alloc> std::basic_string<_CharT, _Traits, _Alloc> std::operator+(const std::basic_string<_CharT, _Traits, _Alloc>&, const std::basic_string<_CharT, _Traits, _Alloc>&)
operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2384:5: note: template argument deduction/substitution failed:
0_0_22260954_30713.cpp:113:19: note: 'Complex' is not derived from 'const std::basic_string<_CharT, _Traits, _Alloc>'
Complex c3=c1+c2;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:53:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/locale_classes.h:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:41,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:42,
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_22260954_30713.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.tcc:692:5: note: template<class _CharT, class _Traits, class _Alloc> std::basic_string<_CharT, _Traits, _Alloc> 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.tcc:692:5: note: template argument deduction/substitution failed:
0_0_22260954_30713.cpp:113:19: note: mismatched types 'const _CharT*' and 'Complex'
Complex c3=c1+c2;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:53:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/locale_classes.h:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:41,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:42,
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_22260954_30713.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.tcc:708:5: note: template<class _CharT, class _Traits, class _Alloc> std::basic_string<_CharT, _Traits, _Alloc> std::operator+(_CharT, const std::basic_string<_CharT, _Traits, _Alloc>&)
operator+(_CharT __lhs, const basic_string<_CharT, _Traits, _Alloc>& __rhs)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.tcc:708:5: note: template argument deduct
|