0_0_21089480_12892.cpp: In function 'bool cmpx(xnode, xnode)':
0_0_21089480_12892.cpp:25:7: error: 'struct xnode' has no member named 'a'
if(a.a!=b.a)return a.a<b.a;
^
0_0_21089480_12892.cpp:25:12: error: 'struct xnode' has no member named 'a'
if(a.a!=b.a)return a.a<b.a;
^
0_0_21089480_12892.cpp:25:23: error: 'struct xnode' has no member named 'a'
if(a.a!=b.a)return a.a<b.a;
^
0_0_21089480_12892.cpp:25:27: error: 'struct xnode' has no member named 'a'
if(a.a!=b.a)return a.a<b.a;
^
0_0_21089480_12892.cpp:26:7: error: 'struct xnode' has no member named 'b'
if(a.b!=b.b)return a.b<b.b;
^
0_0_21089480_12892.cpp:26:12: error: 'struct xnode' has no member named 'b'
if(a.b!=b.b)return a.b<b.b;
^
0_0_21089480_12892.cpp:26:23: error: 'struct xnode' has no member named 'b'
if(a.b!=b.b)return a.b<b.b;
^
0_0_21089480_12892.cpp:26:27: error: 'struct xnode' has no member named 'b'
if(a.b!=b.b)return a.b<b.b;
^
0_0_21089480_12892.cpp:27:11: error: 'struct xnode' has no member named 'c'
return a.c<b.c;
^
0_0_21089480_12892.cpp:27:15: error: 'struct xnode' has no member named 'c'
return a.c<b.c;
^
0_0_21089480_12892.cpp: In function 'bool cmpy(xnode, xnode)':
0_0_21089480_12892.cpp:32:7: error: 'struct xnode' has no member named 'b'
if(a.b!=b.b)return a.b<b.b;
^
0_0_21089480_12892.cpp:32:12: error: 'struct xnode' has no member named 'b'
if(a.b!=b.b)return a.b<b.b;
^
0_0_21089480_12892.cpp:32:23: error: 'struct xnode' has no member named 'b'
if(a.b!=b.b)return a.b<b.b;
^
0_0_21089480_12892.cpp:32:27: error: 'struct xnode' has no member named 'b'
if(a.b!=b.b)return a.b<b.b;
^
0_0_21089480_12892.cpp:33:11: error: 'struct xnode' has no member named 'c'
return a.c<b.c;
^
0_0_21089480_12892.cpp:33:15: error: 'struct xnode' has no member named 'c'
return a.c<b.c;
^
0_0_21089480_12892.cpp: At global scope:
0_0_21089480_12892.cpp:38:5: error: conflicting declaration 'int cnt'
int cnt;
^
0_0_21089480_12892.cpp:20:4: note: previous declaration as 'long long int cnt [100020]'
LL cnt[maxn];
^
0_0_21089480_12892.cpp: In function 'void work(int, int)':
0_0_21089480_12892.cpp:115:15: error: 'struct xnode' has no member named 'b'
while(tl[i].b<=tr[j].b&&i<=t1)
^
0_0_21089480_12892.cpp:115:24: error: 'struct xnode' has no member named 'b'
while(tl[i].b<=tr[j].b&&i<=t1)
^
0_0_21089480_12892.cpp:117:17: error: 'struct xnode' has no member named 'c'
updata(tl[i].c,len[tl[i].id],cnt[tl[i].id]);
^
0_0_21089480_12892.cpp:120:23: error: 'struct xnode' has no member named 'c'
Ans sum=query(tr[j].c);
^
0_0_21089480_12892.cpp:133:38: error: 'struct xnode' has no member named 'c'
for(int i=l;i<=mid;i++)clear(num[i].c);
^
0_0_21089480_12892.cpp: In function 'int main()':
0_0_21089480_12892.cpp:148:6: error: incompatible types in assignment of 'int' to 'long long int [100020]'
cnt=0;
^
0_0_21089480_12892.cpp:158:27: error: 'struct xnode' has no member named 'a'
scanf("%d%d%d",&num[i].a,&num[i].b,&num[i].c);
^
0_0_21089480_12892.cpp:158:37: error: 'struct xnode' has no member named 'b'
scanf("%d%d%d",&num[i].a,&num[i].b,&num[i].c);
^
0_0_21089480_12892.cpp:158:47: error: 'struct xnode' has no member named 'c'
scanf("%d%d%d",&num[i].a,&num[i].b,&num[i].c);
^
0_0_21089480_12892.cpp:159:18: error: 'struct xnode' has no member named 'c'
tmp[i]=num[i].c;
^
0_0_21089480_12892.cpp:163:31: error: 'struct xnode' has no member named 'c'
for(int i=1;i<=n;i++)num[i].c=find(num[i].c);
^
0_0_21089480_12892.cpp:163:45: error: 'struct xnode' has no member named 'c'
for(int i=1;i<=n;i++)num[i].c=find(num[i].c);
^
0_0_21089480_12892.cpp:164:8: error: 'q' was not declared in this scope
sort(q+1,q+n+1,cmpx);
^
|