0_0_19091165_4257.cpp:19:1: error: 'point' does not name a type
point t[MAXN];
^
0_0_19091165_4257.cpp:20:1: error: 'point' does not name a type
point op,ans;
^
0_0_19091165_4257.cpp: In function 'void input_data()':
0_0_19091165_4257.cpp:27:32: error: 't' was not declared in this scope
scanf("%I64d%I64d%d", &t[i].d[0], &t[i].d[1],&t[i].n);
^
0_0_19091165_4257.cpp: At global scope:
0_0_19091165_4257.cpp:32:12: error: 'point' was not declared in this scope
bool cmp_1(point a, point b)
^
0_0_19091165_4257.cpp:32:21: error: 'point' was not declared in this scope
bool cmp_1(point a, point b)
^
0_0_19091165_4257.cpp:32:28: error: expression list treated as compound expression in initializer [-fpermissive]
bool cmp_1(point a, point b)
^
0_0_19091165_4257.cpp:33:1: error: expected ',' or ';' before '{' token
{
^
0_0_19091165_4257.cpp: In function 'void gengxin(int, int)':
0_0_19091165_4257.cpp:39:9: error: 't' was not declared in this scope
if (t[father].min > t[son].min)
^
0_0_19091165_4257.cpp: In function 'void up_data(int)':
0_0_19091165_4257.cpp:45:5: error: 't' was not declared in this scope
t[rt].min = t[rt].n;
^
0_0_19091165_4257.cpp:48:9: error: 'r' was not declared in this scope
if (r) gengxin(rt, r);
^
0_0_19091165_4257.cpp: In function 'int build(int, int, int, int)':
0_0_19091165_4257.cpp:55:17: error: 't' was not declared in this scope
nth_element(t + begin, t + m, t + end + 1, cmp_1);
^
0_0_19091165_4257.cpp: In function 'void query(int, int)':
0_0_19091165_4257.cpp:77:17: error: 't' was not declared in this scope
int temp1 = t[rt].min;
^
0_0_19091165_4257.cpp:78:17: error: 'op' was not declared in this scope
if (temp1 > op.n)
^
0_0_19091165_4257.cpp:80:20: error: 'op' was not declared in this scope
if (t[rt].n <= op.n)
^
0_0_19091165_4257.cpp:83:49: error: 'ans' was not declared in this scope
if (dd < dis || (dd==dis && t[rt].dot < ans.dot))
^
0_0_19091165_4257.cpp:93:9: error: 'op' was not declared in this scope
if (op.d[fx]>t[rt].d[fx])
^
0_0_19091165_4257.cpp:94:18: error: 'you' was not declared in this scope
swap(zuo,you);
^
0_0_19091165_4257.cpp:101:21: error: 'op' was not declared in this scope
LL ju = sqr(op.d[fx]-t[rt].d[fx]);
^
0_0_19091165_4257.cpp:106:15: error: 'you' was not declared in this scope
query(you,1-fx);
^
0_0_19091165_4257.cpp: In function 'void get_ans()':
0_0_19091165_4257.cpp:114:31: error: 'op' was not declared in this scope
scanf("%I64d%I64d%d",&op.d[0],&op.d[1],&op.n);
^
0_0_19091165_4257.cpp:117:35: error: 'ans' was not declared in this scope
printf("%I64d %I64d %d\n",ans.d[0],ans.d[1],ans.n);
^
|