0_0_16177437_7255.cpp: In function 'int main()':
0_0_16177437_7255.cpp:121:24: error: no match for 'operator-' (operand types are 'double' and 'point')
if(fabs(s[i][k].x-s[j][l]
^
0_0_16177437_7255.cpp:121:24: 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_16177437_7255.cpp:1:
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_16177437_7255.cpp:121:31: note: mismatched types 'const std::reverse_iterator<_Iterator>' and 'double'
if(fabs(s[i][k].x-s[j][l]
^
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_16177437_7255.cpp:1:
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_16177437_7255.cpp:121:31: note: mismatched types 'const std::reverse_iterator<_Iterator>' and 'double'
if(fabs(s[i][k].x-s[j][l]
^
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_16177437_7255.cpp:1:
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_16177437_7255.cpp:121:31: note: mismatched types 'const std::move_iterator<_Iterator>' and 'double'
if(fabs(s[i][k].x-s[j][l]
^
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_16177437_7255.cpp:1:
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_16177437_7255.cpp:121:31: note: mismatched types 'const std::move_iterator<_Iterator>' and 'double'
if(fabs(s[i][k].x-s[j][l]
^
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_16177437_7255.cpp:1:
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 'double' to 'const std::_Bit_iterator_base&'
0_0_16177437_7255.cpp:121:31: error: expected ')' at end of input
if(fabs(s[i][k].x-s[j][l]
^
0_0_16177437_7255.cpp:121:31: error: expected statement at end of input
0_0_16177437_7255.cpp:121:31: error: expected '}' at end of input
0_0_16177437_7255.cpp:121:31: error: expected '}' at end of input
0_0_16177437_7255.cpp:121:31: error: expected '}' at end of input
0_0_16177437_7255.cpp:121:31: error: expected '}' at end of input
0_0_16177437_7255.cpp:121:31: error: expected '}' at end of input
0_0_16177437_7255.cpp:121:31: error: expected '}' at end of input
|