0_0_26152361_16244\Main.java:1: 错误: 非法字符: '#'
#include<cstdio>
^
0_0_26152361_16244\Main.java:1: 错误: 需要class, interface或enum
#include<cstdio>
^
0_0_26152361_16244\Main.java:2: 错误: 非法字符: '#'
#include<cstdlib>
^
0_0_26152361_16244\Main.java:3: 错误: 非法字符: '#'
#include<cstring>
^
0_0_26152361_16244\Main.java:4: 错误: 非法字符: '#'
#include<cmath>
^
0_0_26152361_16244\Main.java:5: 错误: 非法字符: '#'
#include<iostream>
^
0_0_26152361_16244\Main.java:6: 错误: 非法字符: '#'
#include<algorithm>
^
0_0_26152361_16244\Main.java:9: 错误: 需要class, interface或enum
const int N=1100,INF=(int)1e9;
^
0_0_26152361_16244\Main.java:10: 错误: 需要class, interface或enum
double z[N][4];
^
0_0_26152361_16244\Main.java:11: 错误: 需要class, interface或enum
struct point{
^
0_0_26152361_16244\Main.java:13: 错误: 需要class, interface或enum
int x,y;
^
0_0_26152361_16244\Main.java:14: 错误: 需要class, interface或enum
}p[2*N];
^
0_0_26152361_16244\Main.java:15: 错误: 需要class, interface或enum
struct node{
^
0_0_26152361_16244\Main.java:17: 错误: 需要class, interface或enum
double y;
^
0_0_26152361_16244\Main.java:18: 错误: 需要class, interface或enum
}a[N];
^
0_0_26152361_16244\Main.java:19: 错误: 需要class, interface或enum
struct trnode{
^
0_0_26152361_16244\Main.java:21: 错误: 需要class, interface或enum
double rl,len;
^
0_0_26152361_16244\Main.java:22: 错误: 需要class, interface或enum
}t[2*N];
^
0_0_26152361_16244\Main.java:23: 错误: 需要class, interface或enum
double num[N];
^
0_0_26152361_16244\Main.java:24: 错误: 需要class, interface或enum
int n,tl,pl,al;
^
0_0_26152361_16244\Main.java:26: 错误: 需要class, interface或enum
int minn(int x,int y){return x<y ? x:y;}
^
0_0_26152361_16244\Main.java:26: 错误: 需要class, interface或enum
int minn(int x,int y){return x<y ? x:y;}
^
0_0_26152361_16244\Main.java:27: 错误: 需要class, interface或enum
int maxx(int x,int y){return x>y ? x:y;}
^
0_0_26152361_16244\Main.java:28: 错误: 需要class, interface或enum
bool cmp_d(point x,point y){return x.d<y.d;}
^
0_0_26152361_16244\Main.java:29: 错误: 需要class, interface或enum
bool cmp_y(node x,node y){return x.y<y.y;}
^
0_0_26152361_16244\Main.java:34: 错误: 需要class, interface或enum
t[x].l=l;t[x].r=r;
^
0_0_26152361_16244\Main.java:34: 错误: 需要class, interface或enum
t[x].l=l;t[x].r=r;
^
0_0_26152361_16244\Main.java:35: 错误: 需要class, interface或enum
t[x].lc=t[x].rc=0;
^
0_0_26152361_16244\Main.java:36: 错误: 需要class, interface或enum
t[x].cnt=0;t[x].len=0;
^
0_0_26152361_16244\Main.java:36: 错误: 需要class, interface或enum
t[x].cnt=0;t[x].len=0;
^
0_0_26152361_16244\Main.java:37: 错误: 需要class, interface或enum
t[x].rl=num[r+1]-num[l];
^
0_0_26152361_16244\Main.java:38: 错误: 需要class, interface或enum
if(l<r)
^
0_0_26152361_16244\Main.java:41: 错误: 需要class, interface或enum
t[x].lc=bt(l,mid);
^
0_0_26152361_16244\Main.java:42: 错误: 需要class, interface或enum
t[x].rc=bt(mid+1,r);
^
0_0_26152361_16244\Main.java:43: 错误: 需要class, interface或enum
}
^
0_0_26152361_16244\Main.java:45: 错误: 需要class, interface或enum
}
^
0_0_26152361_16244\Main.java:50: 错误: 需要class, interface或enum
if(t[x].cnt>0) t[x].len=t[x].rl;
^
0_0_26152361_16244\Main.java:51: 错误: 需要class, interface或enum
else t[x].len=t[lc].len+t[rc].len;
^
0_0_26152361_16244\Main.java:52: 错误: 需要class, interface或enum
}
^
0_0_26152361_16244\Main.java:59: 错误: 需要class, interface或enum
upd(x);
^
0_0_26152361_16244\Main.java:60: 错误: 需要class, interface或enum
return ;
^
0_0_26152361_16244\Main.java:61: 错误: 需要class, interface或enum
}
^
0_0_26152361_16244\Main.java:63: 错误: 需要class, interface或enum
if(r<=mid) change(lc,l,r,d);
^
0_0_26152361_16244\Main.java:64: 错误: 需要class, interface或enum
else if(l>mid) change(rc,l,r,d);
^
0_0_26152361_16244\Main.java:65: 错误: 需要class, interface或enum
else
^
0_0_26152361_16244\Main.java:68: 错误: 需要class, interface或enum
change(rc,mid+1,r,d);
^
0_0_26152361_16244\Main.java:69: 错误: 需要class, interface或enum
}
^
0_0_26152361_16244\Main.java:71: 错误: 需要class, interface或enum
}
^
0_0_26152361_16244\Main.java:76: 错误: 需要class, interface或enum
int T=0;
^
0_0_26152361_16244\Main.java:77: 错误: 需要class, interface或enum
while(1)
^
0_0_26152361_16244\Main.java:80: 错误: 需要class, interface或enum
if(n==0) break;
^
0_0_26152361_16244\Main.java:81: 错误: 需要class, interface或enum
int x,mx;pl=0;tl=0;al=0;t[0].len=0;
^
0_0_26152361_16244\Main.java:81: 错误: 需要class, interface或enum
int x,mx;pl=0;tl=0;al=0;t[0].len=0;
^
0_0_26152361_16244\Main.java:81: 错误: 需要class, interface或enum
int x,mx;pl=0;tl=0;al=0;t[0].len=0;
^
0_0_26152361_16244\Main.java:81: 错误: 需要class, interface或enum
int x,mx;pl=0;tl=0;al=0;t[0].len=0;
^
0_0_26152361_16244\Main.java:81: 错误: 需要class, interface或enum
int x,mx;pl=0;tl=0;al=0;t[0].len=0;
^
0_0_26152361_16244\Main.java:82: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++)
^
0_0_26152361_16244\Main.java:82: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++)
^
0_0_26152361_16244\Main.java:82: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++)
^
0_0_26152361_16244\Main.java:84: 错误: 需要class, interface或enum
for(int j=0;j<=3;j++)
^
0_0_26152361_16244\Main.java:84: 错误: 需要class, interface或enum
for(int j=0;j<=3;j++)
^
0_0_26152361_16244\Main.java:87: 错误: 需要class, interface或enum
if(j%2==0) p[++pl].d=z[i][j],p[pl].x=i,p[pl].y=j;
^
0_0_26152361_16244\Main.java:88: 错误: 需要class, interface或enum
}
^
0_0_26152361_16244\Main.java:91: 错误: 需要class, interface或enum
mx=0;p[0].d=INF;
^
0_0_26152361_16244\Main.java:91: 错误: 需要class, interface或enum
mx=0;p[0].d=INF;
^
0_0_26152361_16244\Main.java:92: 错误: 需要class, interface或enum
for(int i=1;i<=pl;i++)
^
0_0_26152361_16244\Main.java:92: 错误: 需要class, interface或enum
for(int i=1;i<=pl;i++)
^
0_0_26152361_16244\Main.java:92: 错误: 需要class, interface或enum
for(int i=1;i<=pl;i++)
^
0_0_26152361_16244\Main.java:95: 错误: 需要class, interface或enum
z[p[i].x][p[i].y]=mx;
^
0_0_26152361_16244\Main.java:96: 错误: 需要class, interface或enum
}
^
0_0_26152361_16244\Main.java:98: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++)
^
0_0_26152361_16244\Main.java:98: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++)
^
0_0_26152361_16244\Main.java:98: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++)
^
0_0_26152361_16244\Main.java:101: 错误: 需要class, interface或enum
if(z[i][0]>z[i][2]) swap(z[i][0],z[i][2]);
^
0_0_26152361_16244\Main.java:102: 错误: 需要class, interface或enum
a[++al].x0=z[i][0];a[al].x1=z[i][2];a[al].y=z[i][1];a[al].d=-1;
^
0_0_26152361_16244\Main.java:102: 错误: 需要class, interface或enum
a[++al].x0=z[i][0];a[al].x1=z[i][2];a[al].y=z[i][1];a[al].d=-1;
^
0_0_26152361_16244\Main.java:102: 错误: 需要class, interface或enum
a[++al].x0=z[i][0];a[al].x1=z[i][2];a[al].y=z[i][1];a[al].d=-1;
^
0_0_26152361_16244\Main.java:102: 错误: 需要class, interface或enum
a[++al].x0=z[i][0];a[al].x1=z[i][2];a[al].y=z[i][1];a[al].d=-1;
^
0_0_26152361_16244\Main.java:103: 错误: 需要class, interface或enum
a[++al].x0=z[i][0];a[al].x1=z[i][2];a[al].y=z[i][3];a[al].d=1;
^
0_0_26152361_16244\Main.java:103: 错误: 需要class, interface或enum
a[++al].x0=z[i][0];a[al].x1=z[i][2];a[al].y=z[i][3];a[al].d=1;
^
0_0_26152361_16244\Main.java:103: 错误: 需要class, interface或enum
a[++al].x0=z[i][0];a[al].x1=z[i][2];a[al].y=z[i][3];a[al].d=1;
^
0_0_26152361_16244\Main.java:103: 错误: 需要class, interface或enum
a[++al].x0=z[i][0];a[al].x1=z[i][2];a[al].y=z[i][3];a[al].d=1;
^
0_0_26152361_16244\Main.java:104: 错误: 需要class, interface或enum
}
^
0_0_26152361_16244\Main.java:108: 错误: 需要class, interface或enum
double w,h,ans=0;
^
0_0_26152361_16244\Main.java:109: 错误: 需要class, interface或enum
change(1,a[1].x0,a[1].x1-1,a[1].d);
^
0_0_26152361_16244\Main.
|