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*'
|