0_0_17855595_18659.cpp: In function 'int main()':
0_0_17855595_18659.cpp:58:56: error: no matching function for call to 'max(ll&, int)'
ans=max(ans,it->xx*x.xx+it->yy*x.yy);
^
0_0_17855595_18659.cpp:58:56: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/char_traits.h:39:0,
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_17855595_18659.cpp:10:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:217:5: note: template<class _Tp> const _Tp& std::max(const _Tp&, const _Tp&)
max(const _Tp& __a, const _Tp& __b)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:217:5: note: template argument deduction/substitution failed:
0_0_17855595_18659.cpp:58:56: note: deduced conflicting types for parameter 'const _Tp' ('long long int' and 'int')
ans=max(ans,it->xx*x.xx+it->yy*x.yy);
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/char_traits.h:39:0,
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_17855595_18659.cpp:10:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:261:5: note: template<class _Tp, class _Compare> const _Tp& std::max(const _Tp&, const _Tp&, _Compare)
max(const _Tp& __a, const _Tp& __b, _Compare __comp)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:261:5: note: template argument deduction/substitution failed:
0_0_17855595_18659.cpp:58:56: note: deduced conflicting types for parameter 'const _Tp' ('long long int' and 'int')
ans=max(ans,it->xx*x.xx+it->yy*x.yy);
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62:0,
from 0_0_17855595_18659.cpp:16:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:3449:5: note: template<class _Tp> _Tp std::max(std::initializer_list<_Tp>)
max(initializer_list<_Tp> __l)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:3449:5: note: template argument deduction/substitution failed:
0_0_17855595_18659.cpp:58:56: note: mismatched types 'std::initializer_list<_Tp>' and 'long long int'
ans=max(ans,it->xx*x.xx+it->yy*x.yy);
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62:0,
from 0_0_17855595_18659.cpp:16:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:3454:5: note: template<class _Tp, class _Compare> _Tp std::max(std::initializer_list<_Tp>, _Compare)
max(initializer_list<_Tp> __l, _Compare __comp)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:3454:5: note: template argument deduction/substitution failed:
0_0_17855595_18659.cpp:58:56: note: mismatched types 'std::initializer_list<_Tp>' and 'long long int'
ans=max(ans,it->xx*x.xx+it->yy*x.yy);
^
0_0_17855595_18659.cpp:65:26: error: no match for 'operator==' (operand types are 'pii {aka std::pair<int, int>}' and 'std::_List_iterator<std::pair<int, int> >')
if (x==it)
^
0_0_17855595_18659.cpp:65:26: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/list:63:0,
from 0_0_17855595_18659.cpp:18:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_list.h:1729:5: note: template<class _Tp, class _Alloc> bool std::operator==(const std::list<_Tp, _Alloc>&, const std::list<_Tp, _Alloc>&)
operator==(const list<_Tp, _Alloc>& __x, const list<_Tp, _Alloc>& __y)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_list.h:1729:5: note: template argument deduction/substitution failed:
0_0_17855595_18659.cpp:65:28: note: 'pii {aka std::pair<int, int>}' is not derived from 'const std::list<_Tp, _Alloc>'
if (x==it)
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/list:63:0,
from 0_0_17855595_18659.cpp:18:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_list.h:285:5: note: template<class _Val> bool std::operator==(const std::_List_iterator<_Tp>&, const std::_List_const_iterator<_Val>&)
operator==(const _List_iterator<_Val>& __x,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_list.h:285:5: note: template argument deduction/substitution failed:
0_0_17855595_18659.cpp:65:28: note: 'pii {aka std::pair<int, int>}' is not derived from 'const std::_List_iterator<_Tp>'
if (x==it)
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/stack:61:0,
from 0_0_17855595_18659.cpp:17:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_stack.h:246:5: note: template<class _Tp, class _Seq> bool std::operator==(const std::stack<_Tp, _Seq>&, const std::stack<_Tp, _Seq>&)
operator==(const stack<_Tp, _Seq>& __x, const stack<_Tp, _Seq>& __y)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_stack.h:246:5: note: template argument deduction/substitution failed:
0_0_17855595_18659.cpp:65:28: note: 'pii {aka std::pair<int, int>}' is not derived from 'const std::stack<_Tp, _Seq>'
if (x==it)
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:51:0,
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_17855595_18659.cpp:16:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/random.tcc:2030:5: note: template<class _RealType1> bool std::operator==(const std::normal_distribution<_RealType>&, const std::normal_distribution<_RealType>&)
operator==(const std::normal_distribution<_RealType>& __d1,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/random.tcc:2030:5: note: template argument deduction/substitution failed:
0_0_17855595_18659.cpp:65:28: note: 'pii {aka std::pair<int, int>}' is not derived from 'const std::normal_distribution<_RealType>'
if (x==it)
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/set:62:0,
from 0_0_17855595_18659.cpp:15:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_multiset.h:777:5: note: template<class _Key, class _Compare, class _Alloc> bool std::operator==(const std::multiset<_Key, _Compare, _Alloc>&, const std::multiset<_Key, _Compare, _Alloc>&)
operator==(const multiset<_Key, _Compare, _Alloc>& __x,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_multiset.h:777:5: note: template argument deduction/substitution failed:
0_0_17855595_18659.cpp:65:28: note: 'pii {aka std::pair<int, int>}' is not derived from 'const std::multiset<_Key, _Compare, _Alloc>'
if (x==it)
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/set:61:0,
from 0_0_17855595_18659.cpp:15:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_set.h:793:5: note: template<class _Key, class _Compare, class _Alloc> bool std::operator==(const std::set<_Key, _Compare, _Alloc>&, const std::set<_Key, _Compare, _Alloc>&)
operator==(const set<_Key, _Compare, _Alloc>& __x,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_set.h:793:5: note: template argument deduction/substitution failed:
0_0_17855595_18659.cpp:65:28: note: 'pii {aka std::pair<int, int>}' is not derived from 'const std::set<_Key, _Compare, _Alloc>'
if (x==it)
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:64:0,
from 0_0_17855595_18659.cpp:13:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_queue.h:271:5: note: template<class _Tp, class _Seq> bool std::operator==(const std::queue<_Tp, _Seq>&, const std::queue<_Tp, _Seq>&)
operator==(const queue<_Tp, _Seq>& __x, const queue<_Tp, _Seq>& __y)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_queue.h:271:5: note: template argument deduction/substitution failed:
0_0_17855595_18659.cpp:65:28: note: 'pii {aka std::pair<int, int>}' is not derived from 'const std::queue<_Tp, _Seq>'
if (x==it)
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/deque:64:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:60,
from 0_0_17855595_18659.cpp:13:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_deque.h:2029:5: note: template<class _Tp, class _Alloc> bool std::ope
|