0_0_21207790_7960.cpp:152:3: error: expected '}' at end of input
%0
^
0_0_21207790_7960.cpp: In member function 'BigInt BigInt::operator+(BigInt)':
0_0_21207790_7960.cpp:149:13: error: no match for 'operator-' (operand types are 'BigInt' and 'BigInt')
return x-Ans;
^
0_0_21207790_7960.cpp:149:13: 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++/algorithm:61,
from 0_0_21207790_7960.cpp:5:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:328:5: note: template<class _Iterator> typename std::reverse_iterator<_Iterator>::difference_type std::operator-(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_Iterator>&)
operator-(const reverse_iterator<_Iterator>& __x,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:328:5: note: template argument deduction/substitution failed:
0_0_21207790_7960.cpp:149:14: note: 'BigInt' is not derived from 'const std::reverse_iterator<_Iterator>'
return x-Ans;
^
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++/algorithm:61,
from 0_0_21207790_7960.cpp:5:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:380:5: note: template<class _IteratorL, class _IteratorR> decltype ((__y.base() - __x.base())) std::operator-(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_IteratorR>&)
operator-(const reverse_iterator<_IteratorL>& __x,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:380:5: note: template argument deduction/substitution failed:
0_0_21207790_7960.cpp:149:14: note: 'BigInt' is not derived from 'const std::reverse_iterator<_Iterator>'
return x-Ans;
^
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++/algorithm:61,
from 0_0_21207790_7960.cpp:5:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:1121:5: note: template<class _IteratorL, class _IteratorR> decltype ((__x.base() - __y.base())) std::operator-(const std::move_iterator<_Iterator>&, const std::move_iterator<_IteratorR>&)
operator-(const move_iterator<_IteratorL>& __x,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:1121:5: note: template argument deduction/substitution failed:
0_0_21207790_7960.cpp:149:14: note: 'BigInt' is not derived from 'const std::move_iterator<_Iterator>'
return x-Ans;
^
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++/algorithm:61,
from 0_0_21207790_7960.cpp:5:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:1128:5: note: template<class _Iterator> decltype ((__x.base() - __y.base())) std::operator-(const std::move_iterator<_Iterator>&, const std::move_iterator<_Iterator>&)
operator-(const move_iterator<_Iterator>& __x,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:1128:5: note: template argument deduction/substitution failed:
0_0_21207790_7960.cpp:149:14: note: 'BigInt' is not derived from 'const std::move_iterator<_Iterator>'
return x-Ans;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:65: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_21207790_7960.cpp:5:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_bvector.h:208:3: note: std::ptrdiff_t std::operator-(const std::_Bit_iterator_base&, const std::_Bit_iterator_base&)
operator-(const _Bit_iterator_base& __x, const _Bit_iterator_base& __y)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_bvector.h:208:3: note: no known conversion for argument 1 from 'BigInt' to 'const std::_Bit_iterator_base&'
0_0_21207790_7960.cpp:151:15: error: no match for 'operator-' (operand types are 'BigInt' and 'BigInt')
return Ans-x;
^
0_0_21207790_7960.cpp:151:15: 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++/algorithm:61,
from 0_0_21207790_7960.cpp:5:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:328:5: note: template<class _Iterator> typename std::reverse_iterator<_Iterator>::difference_type std::operator-(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_Iterator>&)
operator-(const reverse_iterator<_Iterator>& __x,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:328:5: note: template argument deduction/substitution failed:
0_0_21207790_7960.cpp:151:16: note: 'BigInt' is not derived from 'const std::reverse_iterator<_Iterator>'
return Ans-x;
^
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++/algorithm:61,
from 0_0_21207790_7960.cpp:5:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:380:5: note: template<class _IteratorL, class _IteratorR> decltype ((__y.base() - __x.base())) std::operator-(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_IteratorR>&)
operator-(const reverse_iterator<_IteratorL>& __x,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:380:5: note: template argument deduction/substitution failed:
0_0_21207790_7960.cpp:151:16: note: 'BigInt' is not derived from 'const std::reverse_iterator<_Iterator>'
return Ans-x;
^
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++/algorithm:61,
from 0_0_21207790_7960.cpp:5:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:1121:5: note: template<class _IteratorL, class _IteratorR> decltype ((__x.base() - __y.base())) std::operator-(const std::move_iterator<_Iterator>&, const std::move_iterator<_IteratorR>&)
operator-(const move_iterator<_IteratorL>& __x,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:1121:5: note: template argument deduction/substitution failed:
0_0_21207790_7960.cpp:151:16: note: 'BigInt' is not derived from 'const std::move_iterator<_Iterator>'
return Ans-x;
^
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++/algorithm:61,
from 0_0_21207790_7960.cpp:5:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:1128:5: note: template<class _Iterator> decltype ((__x.base() - __y.base())) std::operator-(const std::move_iterator<_Iterator>&, const std::move_iterator<_Iterator>&)
operator-(const move_iterator<_Iterator>& __x,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:1128:5: note: template argument deduction/substitution failed:
0_0_21207790_7960.cpp:151:16: note: 'BigInt' is not derived from 'const std::move_iterator<_Iterator>'
return Ans-x;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:65: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_21207790_7960.cpp:5:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_bvector.h:208:3: note: std::ptrdiff_t std::operator-(const std::_Bit_iterator_base&, const std::_Bit_iterator_base&)
operator-(const _Bit_iterator_base& __x, const _Bit_iterator_base& __y)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_bvector.h:208:3: note: no known conversion for argument 1 from 'BigInt' to 'const std::_Bit_iterator_base&'
0_0_21207790_7960.cpp:152:2: error: expected primary-expression before '%' token
%0
^
0_0_21207790_7960.cpp:152:3: error: expected '}' at end of input
%0
^
0_0_21207790_7960.cpp:152:3: error: expected '}' at end of input
0_0_21207790_7960.cpp: At global scope:
0_0_21207790_7960.cpp:152:3: error: expected unqualified-id at end of input
|