0_0_37592733_18089.cpp: In member function 'void KD_tree::queery(long long int, long long int, node)':
0_0_37592733_18089.cpp:45:14: error: expected primary-expression before 'long'
ans += sq(long long(p.x[i] - kd[root].x[i]));
^
0_0_37592733_18089.cpp:7:16: note: in definition of macro 'sq'
#define sq(x) (x)*(x);
^
0_0_37592733_18089.cpp:45:14: error: expected ')' before 'long'
ans += sq(long long(p.x[i] - kd[root].x[i]));
^
0_0_37592733_18089.cpp:7:16: note: in definition of macro 'sq'
#define sq(x) (x)*(x);
^
0_0_37592733_18089.cpp:51:16: error: expected primary-expression before 'long'
int len = sq(long long(p.x[dim] - kd[root].x[dim]));
^
0_0_37592733_18089.cpp:7:16: note: in definition of macro 'sq'
#define sq(x) (x)*(x);
^
0_0_37592733_18089.cpp:51:16: error: expected ')' before 'long'
int len = sq(long long(p.x[dim] - kd[root].x[dim]));
^
0_0_37592733_18089.cpp:7:16: note: in definition of macro 'sq'
#define sq(x) (x)*(x);
^
|