0_0_38117202_11668.cpp: In member function 'std::tuple<int, Circle, line<long double> > Circle::inverse(const Line&) const':
0_0_38117202_11668.cpp:432:47: error: converting to 'std::tuple<int, Circle, line<long double> >' from initializer list would use explicit constructor 'constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {int, const Circle&, const line<long double>&}; <template-parameter-2-2> = void; _Elements = {int, Circle, line<long double>}]'
if (l.toleft(c)==0) return {2,null_c,l};
^
0_0_38117202_11668.cpp:436:39: error: converting to 'std::tuple<int, Circle, line<long double> >' from initializer list would use explicit constructor 'constexpr std::tuple< <template-parameter-1-1> >::tuple(const _Elements& ...) [with _Elements = {int, Circle, line<long double>}]'
return {1,{(c+p)/2,d/2},null_l};
^
0_0_38117202_11668.cpp: In member function 'std::tuple<int, Circle, line<long double> > Circle::inverse(const Circle&) const':
0_0_38117202_11668.cpp:448:44: error: converting to 'std::tuple<int, Circle, line<long double> >' from initializer list would use explicit constructor 'constexpr std::tuple< <template-parameter-1-1> >::tuple(const _Elements& ...) [with _Elements = {int, Circle, line<long double>}]'
return {2,null_c,{p,{-v.y,v.x}}};
^
0_0_38117202_11668.cpp:450:49: error: converting to 'std::tuple<int, Circle, line<long double> >' from initializer list would use explicit constructor 'constexpr std::tuple< <template-parameter-1-1> >::tuple(const _Elements& ...) [with _Elements = {int, Circle, line<long double>}]'
if (c==a.c) return {1,{c,r*r/a.r},null_l};
^
0_0_38117202_11668.cpp:453:46: error: converting to 'std::tuple<int, Circle, line<long double> >' from initializer list would use explicit constructor 'constexpr std::tuple< <template-parameter-1-1> >::tuple(const _Elements& ...) [with _Elements = {int, Circle, line<long double>}]'
return {1,{(p+q)/2,p.dis(q)/2},null_l};
^
0_0_38117202_11668.cpp: In function 'long double solve(int, int, int)':
0_0_38117202_11668.cpp:461:41: error: no matching function for call to 'get(std::tuple<int, Circle, line<long double> >)'
const Line la=get<Line>(o.inverse(a)),lb=get<2>(o.inverse(b));
^
0_0_38117202_11668.cpp:461:41: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:60:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:64,
from 0_0_38117202_11668.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/utility:143:5: note: template<long long unsigned int _Int, class _Tp1, class _Tp2> constexpr typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type& std::get(std::pair<_Tp1, _Tp2>&)
get(std::pair<_Tp1, _Tp2>& __in) noexcept
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/utility:143:5: note: template argument deduction/substitution failed:
GCC4.9.2/x86_64-w64-mingw32/include/c++/utility:148:5: note: template<long long unsigned int _Int, class _Tp1, class _Tp2> constexpr typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type&& std::get(std::pair<_Tp1, _Tp2>&&)
get(std::pair<_Tp1, _Tp2>&& __in) noexcept
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/utility:148:5: note: template argument deduction/substitution failed:
GCC4.9.2/x86_64-w64-mingw32/include/c++/utility:153:5: note: template<long long unsigned int _Int, class _Tp1, class _Tp2> constexpr const typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type& std::get(const std::pair<_Tp1, _Tp2>&)
get(const std::pair<_Tp1, _Tp2>& __in) noexcept
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/utility:153:5: note: template argument deduction/substitution failed:
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++/functional:55,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:70,
from 0_0_38117202_11668.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/array:272:5: note: template<long long unsigned int _Int, class _Tp, long long unsigned int _Nm> constexpr _Tp& std::get(std::array<_Tp, _Nm>&)
get(array<_Tp, _Nm>& __arr) noexcept
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/array:272:5: note: template argument deduction/substitution failed:
GCC4.9.2/x86_64-w64-mingw32/include/c++/array:281:5: note: template<long long unsigned int _Int, class _Tp, long long unsigned int _Nm> constexpr _Tp&& std::get(std::array<_Tp, _Nm>&&)
get(array<_Tp, _Nm>&& __arr) noexcept
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/array:281:5: note: template argument deduction/substitution failed:
GCC4.9.2/x86_64-w64-mingw32/include/c++/array:289:5: note: template<long long unsigned int _Int, class _Tp, long long unsigned int _Nm> constexpr const _Tp& std::get(const std::array<_Tp, _Nm>&)
get(const array<_Tp, _Nm>& __arr) noexcept
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/array:289:5: note: template argument deduction/substitution failed:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/functional:55:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:70,
from 0_0_38117202_11668.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/tuple:756:5: note: template<long long unsigned int __i, class ... _Elements> constexpr typename std::__add_ref<typename std::tuple_element<__i, std::tuple<_Elements ...> >::type>::type std::get(std::tuple<_Elements ...>&)
get(tuple<_Elements...>& __t) noexcept
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/tuple:756:5: note: template argument deduction/substitution failed:
GCC4.9.2/x86_64-w64-mingw32/include/c++/tuple:764:5: note: template<long long unsigned int __i, class ... _Elements> constexpr typename std::__add_c_ref<typename std::tuple_element<__i, std::tuple<_Elements ...> >::type>::type std::get(const std::tuple<_Elements ...>&)
get(const tuple<_Elements...>& __t) noexcept
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/tuple:764:5: note: template argument deduction/substitution failed:
GCC4.9.2/x86_64-w64-mingw32/include/c++/tuple:772:5: note: template<long long unsigned int __i, class ... _Elements> constexpr typename std::__add_r_ref<typename std::tuple_element<__i, std::tuple<_Elements ...> >::type>::type std::get(std::tuple<_Elements ...>&&)
get(tuple<_Elements...>&& __t) noexcept
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/tuple:772:5: note: template argument deduction/substitution failed:
0_0_38117202_11668.cpp:463:33: error: 'lb' was not declared in this scope
const long double x=(la.p.x+lb.p.x)/2,r=abs(la.p.x-lb.p.x)/2;
^
0_0_38117202_11668.cpp:466:42: error: 'r' was not declared in this scope
const long double y=(i&1)?-(i-1)*r:i*r;
^
|