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

0_0_29084588_3000.cpp: In function 'void Query(int, LL*)':
0_0_29084588_3000.cpp:87:32: error: no matching function for call to 'Node::SqrDist(LL*&)'
   LL d = kdtree[root].SqrDist(x);
                                ^
0_0_29084588_3000.cpp:87:32: note: candidate is:
0_0_29084588_3000.cpp:26:6: note: LL Node::SqrDist(const int*)
   LL SqrDist(const int x_q[]) {
      ^
0_0_29084588_3000.cpp:26:6: note:   no known conversion for argument 1 from 'LL* {aka long long int*}' to 'const int*'
0_0_29084588_3000.cpp:88:33: error: no matching function for call to 'Node::IsSamePoint(LL*&)'
   if (kdtree[root].IsSamePoint(x)) {
                                 ^
0_0_29084588_3000.cpp:88:33: note: candidate is:
0_0_29084588_3000.cpp:34:8: note: bool Node::IsSamePoint(const int*)
   bool IsSamePoint(const int x_q[]) {
        ^
0_0_29084588_3000.cpp:34:8: note:   no known conversion for argument 1 from 'LL* {aka long long int*}' to 'const int*'
0_0_29084588_3000.cpp:95:34: error: no matching function for call to 'Node::MaxSqrDist(LL*&)'
     l_q = kdtree[id].MaxSqrDist(x);
                                  ^
0_0_29084588_3000.cpp:95:34: note: candidate is:
0_0_29084588_3000.cpp:42:6: note: LL Node::MaxSqrDist(const int*)
   LL MaxSqrDist(const int x_q[]) {
      ^
0_0_29084588_3000.cpp:42:6: note:   no known conversion for argument 1 from 'LL* {aka long long int*}' to 'const int*'
0_0_29084588_3000.cpp:98:34: error: no matching function for call to 'Node::MaxSqrDist(LL*&)'
     r_q = kdtree[id].MaxSqrDist(x);
                                  ^
0_0_29084588_3000.cpp:98:34: note: candidate is:
0_0_29084588_3000.cpp:42:6: note: LL Node::MaxSqrDist(const int*)
   LL MaxSqrDist(const int x_q[]) {
      ^
0_0_29084588_3000.cpp:42:6: note:   no known conversion for argument 1 from 'LL* {aka long long int*}' to 'const int*'


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-07-06 01:19:54, Gzip enabled