F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h: In function `const _Tp& std::__median(const _Tp&, const _Tp&, const _Tp&, _Compare) [with _Tp = KDTree::Point, _Compare = KDTree::Comparer]':
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:3761:   instantiated from `void std::nth_element(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = KDTree::Point*, _Compare = KDTree::Comparer]'
0_0_11649440_27759.cpp:75:   instantiated from here
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:124: error: no match for call to `(KDTree::Comparer) (const KDTree::Point&, const KDTree::Point&)'
0_0_11649440_27759.cpp:45: note: candidates are: bool KDTree::Comparer::operator()(KDTree::Point&, KDTree::Point&)
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:125: error: no match for call to `(KDTree::Comparer) (const KDTree::Point&, const KDTree::Point&)'
0_0_11649440_27759.cpp:45: note: candidates are: bool KDTree::Comparer::operator()(KDTree::Point&, KDTree::Point&)
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:127: error: no match for call to `(KDTree::Comparer) (const KDTree::Point&, const KDTree::Point&)'
0_0_11649440_27759.cpp:45: note: candidates are: bool KDTree::Comparer::operator()(KDTree::Point&, KDTree::Point&)
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:131: error: no match for call to `(KDTree::Comparer) (const KDTree::Point&, const KDTree::Point&)'
0_0_11649440_27759.cpp:45: note: candidates are: bool KDTree::Comparer::operator()(KDTree::Point&, KDTree::Point&)
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:133: error: no match for call to `(KDTree::Comparer) (const KDTree::Point&, const KDTree::Point&)'
0_0_11649440_27759.cpp:45: note: candidates are: bool KDTree::Comparer::operator()(KDTree::Point&, KDTree::Point&)


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-12-05 16:12:36, Gzip enabled