0_0_17914825_18030.cpp:93:1: error: stray '\347' in program
<p><strong><span style="font-size:18px; color:#000099">(2)矩形树代码<br />
^
0_0_17914825_18030.cpp:93:1: error: stray '\237' in program
0_0_17914825_18030.cpp:93:1: error: stray '\251' in program
0_0_17914825_18030.cpp:93:1: error: stray '\345' in program
0_0_17914825_18030.cpp:93:1: error: stray '\275' in program
0_0_17914825_18030.cpp:93:1: error: stray '\242' in program
0_0_17914825_18030.cpp:93:1: error: stray '\346' in program
0_0_17914825_18030.cpp:93:1: error: stray '\240' in program
0_0_17914825_18030.cpp:93:1: error: stray '\221' in program
0_0_17914825_18030.cpp:93:1: error: stray '\344' in program
0_0_17914825_18030.cpp:93:1: error: stray '\273' in program
0_0_17914825_18030.cpp:93:1: error: stray '\243' in program
0_0_17914825_18030.cpp:93:1: error: stray '\347' in program
0_0_17914825_18030.cpp:93:1: error: stray '\240' in program
0_0_17914825_18030.cpp:93:1: error: stray '\201' in program
0_0_17914825_18030.cpp:95:25: error: stray '#' in program
<pre class="brush:cpp ">#include <stdlib.h>
^
0_0_17914825_18030.cpp:91:2: error: expected unqualified-id before '<' token
}</pre>
^
0_0_17914825_18030.cpp:120:11: error: redefinition of 'const int INF'
const int INF=0x3F3F3F3F;
^
0_0_17914825_18030.cpp:26:11: note: 'const int INF' previously defined here
const int INF=0x3F3F3F3F;
^
0_0_17914825_18030.cpp:121:14: error: redefinition of 'const double DINF'
const double DINF=10001.00;
^
0_0_17914825_18030.cpp:27:14: note: 'const double DINF' previously defined here
const double DINF=10001.00;
^
0_0_17914825_18030.cpp:123:11: error: redefinition of 'const int N'
const int N=110;
^
0_0_17914825_18030.cpp:29:11: note: 'const int N' previously defined here
const int N=110;
^
0_0_17914825_18030.cpp:124:5: error: redefinition of 'int n'
int n,m;
^
0_0_17914825_18030.cpp:30:5: note: 'int n' previously declared here
int n,m;
^
0_0_17914825_18030.cpp:124:7: error: redefinition of 'int m'
int n,m;
^
0_0_17914825_18030.cpp:30:7: note: 'int m' previously declared here
int n,m;
^
0_0_17914825_18030.cpp:125:11: error: redefinition of 'int X [220]'
int X[N<<1],Y[N<<1],xc,yc;
^
0_0_17914825_18030.cpp:31:21: note: 'int X [220]' previously declared here
int mtx[N<<1][N<<1],X[N<<1],Y[N<<1],xc,yc,cnt[N];
^
0_0_17914825_18030.cpp:125:19: error: redefinition of 'int Y [220]'
int X[N<<1],Y[N<<1],xc,yc;
^
0_0_17914825_18030.cpp:31:29: note: 'int Y [220]' previously declared here
int mtx[N<<1][N<<1],X[N<<1],Y[N<<1],xc,yc,cnt[N];
^
0_0_17914825_18030.cpp:125:21: error: redefinition of 'int xc'
int X[N<<1],Y[N<<1],xc,yc;
^
0_0_17914825_18030.cpp:31:37: note: 'int xc' previously declared here
int mtx[N<<1][N<<1],X[N<<1],Y[N<<1],xc,yc,cnt[N];
^
0_0_17914825_18030.cpp:125:24: error: redefinition of 'int yc'
int X[N<<1],Y[N<<1],xc,yc;
^
0_0_17914825_18030.cpp:31:40: note: 'int yc' previously declared here
int mtx[N<<1][N<<1],X[N<<1],Y[N<<1],xc,yc,cnt[N];
^
0_0_17914825_18030.cpp:126:26: error: conflicting declaration 'int cnt'
int cov[(N*N)<<6],vis[N],cnt;
^
0_0_17914825_18030.cpp:31:43: note: previous declaration as 'int cnt [110]'
int mtx[N<<1][N<<1],X[N<<1],Y[N<<1],xc,yc,cnt[N];
^
0_0_17914825_18030.cpp:128:8: error: redefinition of 'struct node'
struct node{
^
0_0_17914825_18030.cpp:32:8: error: previous definition of 'struct node'
struct node{
^
0_0_17914825_18030.cpp: In function 'node New(int, int, int, int)':
0_0_17914825_18030.cpp:136:7: error: 'struct node' has no member named 'xl'
r.xl=xl,r.xr=xr;
^
0_0_17914825_18030.cpp:136:15: error: 'struct node' has no member named 'xr'
r.xl=xl,r.xr=xr;
^
0_0_17914825_18030.cpp:137:7: error: 'struct node' has no member named 'yl'
r.yl=yl,r.yr=yr;
^
0_0_17914825_18030.cpp:137:15: error: 'struct node' has no member named 'yr'
r.yl=yl,r.yr=yr;
^
0_0_17914825_18030.cpp: At global scope:
0_0_17914825_18030.cpp:148:5: error: conflicting declaration 'rct a [110]'
}a[N];
^
0_0_17914825_18030.cpp:39:2: note: previous declaration as 'node a [110]'
}a[N];
^
0_0_17914825_18030.cpp: In function 'int bs(int, int, int*)':
0_0_17914825_18030.cpp:150:5: error: redefinition of 'int bs(int, int, int*)'
int bs(int key,int size,int A[]){
^
0_0_17914825_18030.cpp:41:5: note: 'int bs(int, int, int*)' previously defined here
int bs(int key,int size,int A[]){
^
0_0_17914825_18030.cpp: In function 'void Update(node, int, node, int)':
0_0_17914825_18030.cpp:169:11: error: 'struct node' has no member named 'xl'
if((P.xl<=p.xl&&p.xr<=P.xr) && (P.yl<=p.yl&&p.yr<=P.yr)){
^
0_0_17914825_18030.cpp:169:17: error: 'struct node' has no member named 'xl'
if((P.xl<=p.xl&&p.xr<=P.xr) && (P.yl<=p.yl&&p.yr<=P.yr)){
^
0_0_17914825_18030.cpp:169:23: error: 'struct node' has no member named 'xr'
if((P.xl<=p.xl&&p.xr<=P.xr) && (P.yl<=p.yl&&p.yr<=P.yr)){
^
0_0_17914825_18030.cpp:169:29: error: 'struct node' has no member named 'xr'
if((P.xl<=p.xl&&p.xr<=P.xr) && (P.yl<=p.yl&&p.yr<=P.yr)){
^
0_0_17914825_18030.cpp:169:39: error: 'struct node' has no member named 'yl'
if((P.xl<=p.xl&&p.xr<=P.xr) && (P.yl<=p.yl&&p.yr<=P.yr)){
^
0_0_17914825_18030.cpp:169:45: error: 'struct node' has no member named 'yl'
if((P.xl<=p.xl&&p.xr<=P.xr) && (P.yl<=p.yl&&p.yr<=P.yr)){
^
0_0_17914825_18030.cpp:169:51: error: 'struct node' has no member named 'yr'
if((P.xl<=p.xl&&p.xr<=P.xr) && (P.yl<=p.yl&&p.yr<=P.yr)){
^
0_0_17914825_18030.cpp:169:57: error: 'struct node' has no member named 'yr'
if((P.xl<=p.xl&&p.xr<=P.xr) && (P.yl<=p.yl&&p.yr<=P.yr)){
^
0_0_17914825_18030.cpp:174:16: error: 'struct node' has no member named 'xmid'
int xmid=p.xmid(),ymid=p.ymid();
^
0_0_17914825_18030.cpp:175:10: error: 'struct node' has no member named 'xl'
if(P.xl<=xmid){
^
0_0_17914825_18030.cpp:176:14: error: 'struct node' has no member named 'yl'
if(P.yl<=ymid) Update(New(p.xl,xmid,p.yl,ymid),(rt<<2)-2,P,c);
^
0_0_17914825_18030.cpp:176:18: error: 'ymid' was not declared in this scope
if(P.yl<=ymid) Update(New(p.xl,xmid,p.yl,ymid),(rt<<2)-2,P,c);
^
0_0_17914825_18030.cpp:176:37: error: 'struct node' has no member named 'xl'
if(P.yl<=ymid) Update(New(p.xl,xmid,p.yl,ymid),(rt<<2)-2,P,c);
^
0_0_17914825_18030.cpp:176:47: error: 'struct node' has no member named 'yl'
if(P.yl<=ymid) Update(New(p.xl,xmid,p.yl,ymid),(rt<<2)-2,P,c);
^
0_0_17914825_18030.cpp:177:12: error: 'ymid' was not declared in this scope
if(ymid<P.yr) Update(New(p.xl,xmid,ymid+1,p.yr),(rt<<2)-1,P,c);
^
0_0_17914825_18030.cpp:177:19: error: 'struct node' has no member named 'yr'
if(ymid<P.yr) Update(New(p.xl,xmid,ymid+1,p.yr),(rt<<2)-1,P,c);
^
0_0_17914825_18030.cpp:177:36: error: 'struct node' has no member named 'xl'
if(ymid<P.yr) Update(New(p.xl,xmid,ymid+1,p.yr),(rt<<2)-1,P,c);
^
0_0_17914825_18030.cpp:177:53: error: 'struct node' has no member named 'yr'
if(ymid<P.yr) Update(New(p.xl,xmid,ymid+1,p.yr),(rt<<2)-1,P,c);
^
0_0_17914825_18030.cpp:179:15: error: 'struct node' has no member named 'xr'
if(xmid<P.xr){
^
0_0_17914825_18030.cpp:180:14: error: 'struct node' has no member named 'yl'
if(P.yl<=ymid) Update(New(xmid+1,p.xr,p.yl,ymid),rt<<2,P,c);
^
0_0_17914825_18030.cpp:180:18: error: 'ymid' was not declared in this scope
if(P.yl<=ymid) Update(New(xmid+1,p.xr,p.yl,ymid),rt<<2,P,c);
^
0_0_17914825_18030.cpp:180:44: error: 'struct node' has no member named 'xr'
if(P.yl<=ymid) Update(New(xmid+1,p.xr,p.yl,ymid),rt<<2,P,c);
^
0_0_17914825_18030.cpp:180:49: error: 'struct node' has no member named 'yl'
if(P.yl<=ymid) Update(New(xmid+1,p.xr,p.yl,ymid),rt<<2,P,c);
^
0_0_17914825_18030.cpp:181:12: error: 'ymid' was not declared in this scope
if(ymid<P.yr) Update(New(xmid+1,p.xr,ymid+1,p.yr),rt<<2|1,P,c);
^
0_0_17914825_18030.cpp:181:19: error: 'struct node' has no member named 'yr'
if(ymid<P.yr) Update(New(xmid+1,p.xr,ymid+1,p.yr),rt<<2|1,P,c);
^
0_0_17914825_18030.cpp:181:43: error: 'struct node' has no member named 'xr'
if(ymid<P.yr) Update(New(xmid+1,p.xr,ymid+1,p.yr),rt<<2|1,P,c);
^
0_0_17914825_18030.cpp:181:55: error: 'struct node' has no mem
|