0_0_17429653_7942.cpp: In function 'double add(double, double)':
0_0_17429653_7942.cpp:12:1: error: expected primary-expression before '}' token
}
^
0_0_17429653_7942.cpp: In function 'std::vector<P> convex_hull(P*, int)':
0_0_17429653_7942.cpp:54:64: error: no match for 'operator<=' (operand types are 'P' and 'int')
while(k > t && (qs[k - 1] - qs[k - 2]).det(ps[i] - qs[k - 1] <= 0)
^
0_0_17429653_7942.cpp:54:64: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:64: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_17429653_7942.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:239:5: note: template<class _T1, class _T2> constexpr bool std::operator<=(const std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&)
operator<=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:239:5: note: template argument deduction/substitution failed:
0_0_17429653_7942.cpp:54:67: note: 'P' is not derived from 'const std::pair<_T1, _T2>'
while(k > t && (qs[k - 1] - qs[k - 2]).det(ps[i] - qs[k - 1] <= 0)
^
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_17429653_7942.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:316:5: note: template<class _Iterator> bool 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:316:5: note: template argument deduction/substitution failed:
0_0_17429653_7942.cpp:54:67: note: 'P' is not derived from 'const std::reverse_iterator<_Iterator>'
while(k > t && (qs[k - 1] - qs[k - 2]).det(ps[i] - qs[k - 1] <= 0)
^
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_17429653_7942.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:366:5: note: template<class _IteratorL, class _IteratorR> bool 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:366:5: note: template argument deduction/substitution failed:
0_0_17429653_7942.cpp:54:67: note: 'P' is not derived from 'const std::reverse_iterator<_Iterator>'
while(k > t && (qs[k - 1] - qs[k - 2]).det(ps[i] - qs[k - 1] <= 0)
^
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_17429653_7942.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:1084:5: note: template<class _IteratorL, class _IteratorR> bool 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:1084:5: note: template argument deduction/substitution failed:
0_0_17429653_7942.cpp:54:67: note: 'P' is not derived from 'const std::move_iterator<_Iterator>'
while(k > t && (qs[k - 1] - qs[k - 2]).det(ps[i] - qs[k - 1] <= 0)
^
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_17429653_7942.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:1090:5: note: template<class _Iterator> bool 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:1090:5: note: template argument deduction/substitution failed:
0_0_17429653_7942.cpp:54:67: note: 'P' is not derived from 'const std::move_iterator<_Iterator>'
while(k > t && (qs[k - 1] - qs[k - 2]).det(ps[i] - qs[k - 1] <= 0)
^
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_17429653_7942.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2662:5: note: template<class _CharT, class _Traits, class _Alloc> bool 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:2662:5: note: template argument deduction/substitution failed:
0_0_17429653_7942.cpp:54:67: note: 'P' is not derived from 'const std::basic_string<_CharT, _Traits, _Alloc>'
while(k > t && (qs[k - 1] - qs[k - 2]).det(ps[i] - qs[k - 1] <= 0)
^
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_17429653_7942.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2674: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:2674:5: note: template argument deduction/substitution failed:
0_0_17429653_7942.cpp:54:67: note: 'P' is not derived from 'const std::basic_string<_CharT, _Traits, _Alloc>'
while(k > t && (qs[k - 1] - qs[k - 2]).det(ps[i] - qs[k - 1] <= 0)
^
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_17429653_7942.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2686:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator<=(const _CharT*, const std::basic_string<_CharT, _Traits, _Alloc>&)
operator<=(c
|