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

In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62:0,
                 from 0_0_19724882_23795.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h: In instantiation of 'void std::__heap_select(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = point*; _Compare = Cmp]':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1932:59:   required from 'void std::__partial_sort(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = point*; _Compare = Cmp]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1947:59:   required from 'void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = point*; _Size = int; _Compare = Cmp]'
0_0_19724882_23795.cpp:49:63:   required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1675:25: error: no match for call to '(Cmp) (point*&, point*&)'
  if (__comp(__i, __first))
                         ^
0_0_19724882_23795.cpp:21:8: note: candidate is:
 struct Cmp{
        ^
0_0_19724882_23795.cpp:24:10: note: bool Cmp::operator()(point, point)
     bool operator ()(point a, point b){
          ^
0_0_19724882_23795.cpp:24:10: note:   no known conversion for argument 1 from 'point*' to 'point'
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62:0,
                 from 0_0_19724882_23795.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h: In instantiation of 'void std::__move_median_to_first(_Iterator, _Iterator, _Iterator, _Iterator, _Compare) [with _Iterator = point*; _Compare = Cmp]':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1921:13:   required from '_RandomAccessIterator std::__unguarded_partition_pivot(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = point*; _Compare = Cmp]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1952:62:   required from 'void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = point*; _Size = int; _Compare = Cmp]'
0_0_19724882_23795.cpp:49:63:   required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:81:26: error: no match for call to '(Cmp) (point*&, point*&)'
       if (__comp(__a, __b))
                          ^
0_0_19724882_23795.cpp:21:8: note: candidate is:
 struct Cmp{
        ^
0_0_19724882_23795.cpp:24:10: note: bool Cmp::operator()(point, point)
     bool operator ()(point a, point b){
          ^
0_0_19724882_23795.cpp:24:10: note:   no known conversion for argument 1 from 'point*' to 'point'
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62:0,
                 from 0_0_19724882_23795.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:83:23: error: no match for call to '(Cmp) (point*&, point*&)'
    if (__comp(__b, __c))
                       ^
0_0_19724882_23795.cpp:21:8: note: candidate is:
 struct Cmp{
        ^
0_0_19724882_23795.cpp:24:10: note: bool Cmp::operator()(point, point)
     bool operator ()(point a, point b){
          ^
0_0_19724882_23795.cpp:24:10: note:   no known conversion for argument 1 from 'point*' to 'point'
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62:0,
                 from 0_0_19724882_23795.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:85:28: error: no match for call to '(Cmp) (point*&, point*&)'
    else if (__comp(__a, __c))
                            ^
0_0_19724882_23795.cpp:21:8: note: candidate is:
 struct Cmp{
        ^
0_0_19724882_23795.cpp:24:10: note: bool Cmp::operator()(point, point)
     bool operator ()(point a, point b){
          ^
0_0_19724882_23795.cpp:24:10: note:   no known conversion for argument 1 from 'point*' to 'point'
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62:0,
                 from 0_0_19724882_23795.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:90:31: error: no match for call to '(Cmp) (point*&, point*&)'
       else if (__comp(__a, __c))
                               ^
0_0_19724882_23795.cpp:21:8: note: candidate is:
 struct Cmp{
        ^
0_0_19724882_23795.cpp:24:10: note: bool Cmp::operator()(point, point)
     bool operator ()(point a, point b){
          ^
0_0_19724882_23795.cpp:24:10: note:   no known conversion for argument 1 from 'point*' to 'point'
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62:0,
                 from 0_0_19724882_23795.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:92:31: error: no match for call to '(Cmp) (point*&, point*&)'
       else if (__comp(__b, __c))
                               ^
0_0_19724882_23795.cpp:21:8: note: candidate is:
 struct Cmp{
        ^
0_0_19724882_23795.cpp:24:10: note: bool Cmp::operator()(point, point)
     bool operator ()(point a, point b){
          ^
0_0_19724882_23795.cpp:24:10: note:   no known conversion for argument 1 from 'point*' to 'point'
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62:0,
                 from 0_0_19724882_23795.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h: In instantiation of '_RandomAccessIterator std::__unguarded_partition(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = point*; _Compare = Cmp]':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1922:77:   required from '_RandomAccessIterator std::__unguarded_partition_pivot(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = point*; _Compare = Cmp]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1952:62:   required from 'void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = point*; _Size = int; _Compare = Cmp]'
0_0_19724882_23795.cpp:49:63:   required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1901:34: error: no match for call to '(Cmp) (point*&, point*&)'
    while (__comp(__first, __pivot))
                                  ^
0_0_19724882_23795.cpp:21:8: note: candidate is:
 struct Cmp{
        ^
0_0_19724882_23795.cpp:24:10: note: bool Cmp::operator()(point, point)
     bool operator ()(point a, point b){
          ^
0_0_19724882_23795.cpp:24:10: note:   no known conversion for argument 1 from 'point*' to 'point'
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62:0,
                 from 0_0_19724882_23795.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1904:33: error: no match for call to '(Cmp) (point*&, point*&)'
    while (__comp(__pivot, __last))
                                 ^
0_0_19724882_23795.cpp:21:8: note: candidate is:
 struct Cmp{
        ^
0_0_19724882_23795.cpp:24:10: note: bool Cmp::operator()(point, point)
     bool operator ()(point a, point b){
          ^
0_0_19724882_23795.cpp:24:10: note:   no known conversion for argument 1 from 'point*' to 'point'
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:61:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
                 from 0_0_19724882_23795.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_heap.h: In instantiation of 'void std::__adjust_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare) [with _RandomAccessIterator = point*; _Distance = long long int; _Tp = point; _Compare = Cmp]':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_heap.h:334:15:   required from 'void std::__make_heap(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = point*; _Compare = Cmp]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1673:49:   required from 'void std::__heap_select(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = point*; _Compare = Cmp]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1932:59:   required from 'void std::__partial_sort(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = point*; _Compare = Cmp]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1947:59:   required from 'void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = point*; _Size = int; _Compare = Cmp]'
0_0_19724882_23795.cpp:49:63:   required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_heap.h:216:37: error: no match for call to '(Cmp) (point*, point*)'
        __first + (__secondChild - 1)))
                                     ^
0_0_19724882_23795.cpp:21:8: note: candidate is:
 struct Cmp{
        ^
0_0_19724882_23795.cpp:24:10: note: bool Cmp::operator()(point, point)
     bool operator ()(point a, point b){
          ^
0_0_19724882_23795.cpp:24:10: note:   no known conversion for argument 1 from 'point*' to '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-11-25 18:23:06, Gzip enabled