0_0_16228677_1684\Main.java:1: 错误: 非法字符: '#'
#include<cstdio>
^
0_0_16228677_1684\Main.java:1: 错误: 需要class, interface或enum
#include<cstdio>
^
0_0_16228677_1684\Main.java:2: 错误: 非法字符: '#'
#include<cstdlib>
^
0_0_16228677_1684\Main.java:3: 错误: 非法字符: '#'
#include<cstring>
^
0_0_16228677_1684\Main.java:4: 错误: 非法字符: '#'
#include<cmath>
^
0_0_16228677_1684\Main.java:5: 错误: 非法字符: '#'
#include<iostream>
^
0_0_16228677_1684\Main.java:6: 错误: 非法字符: '#'
#include<algorithm>
^
0_0_16228677_1684\Main.java:7: 错误: 非法字符: '#'
#include<vector>
^
0_0_16228677_1684\Main.java:8: 错误: 非法字符: '#'
#include<list>
^
0_0_16228677_1684\Main.java:9: 错误: 非法字符: '#'
#include<set>
^
0_0_16228677_1684\Main.java:10: 错误: 非法字符: '#'
#include<map>
^
0_0_16228677_1684\Main.java:11: 错误: 非法字符: '#'
#include<stack>
^
0_0_16228677_1684\Main.java:12: 错误: 非法字符: '#'
#include<queue>
^
0_0_16228677_1684\Main.java:13: 错误: 非法字符: '#'
#define INF (1ll<<62)
^
0_0_16228677_1684\Main.java:14: 错误: 非法字符: '#'
#define mem(x,y) memset(x,y,sizeof(x))
^
0_0_16228677_1684\Main.java:15: 错误: 非法字符: '#'
#define pb push_back
^
0_0_16228677_1684\Main.java:17: 错误: 需要class, interface或enum
typedef long long ll;
^
0_0_16228677_1684\Main.java:18: 错误: 非法字符: '#'
#define bug puts("===========");
^
0_0_16228677_1684\Main.java:18: 错误: 需要class, interface或enum
#define bug puts("===========");
^
0_0_16228677_1684\Main.java:19: 错误: 需要class, interface或enum
const double pi=(acos(-1.0));
^
0_0_16228677_1684\Main.java:20: 错误: 需要class, interface或enum
const double eps=1e-8;
^
0_0_16228677_1684\Main.java:21: 错误: 需要class, interface或enum
const int inf=1e9+10;
^
0_0_16228677_1684\Main.java:22: 错误: 需要class, interface或enum
const int maxn=300000+5;
^
0_0_16228677_1684\Main.java:23: 错误: 需要class, interface或enum
const int mod=1e9+7;
^
0_0_16228677_1684\Main.java:25: 错误: 需要class, interface或enum
int n,a,b;
^
0_0_16228677_1684\Main.java:26: 错误: 需要class, interface或enum
int si[maxn],f[maxn];
^
0_0_16228677_1684\Main.java:27: 错误: 需要class, interface或enum
set<int>st[maxn];
^
0_0_16228677_1684\Main.java:28: 错误: 需要class, interface或enum
set<int>:: iterator it,it2;
^
0_0_16228677_1684\Main.java:29: 错误: 需要class, interface或enum
void init(){
^
0_0_16228677_1684\Main.java:30: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++){
^
0_0_16228677_1684\Main.java:30: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++){
^
0_0_16228677_1684\Main.java:32: 错误: 需要class, interface或enum
f[i]=i;
^
0_0_16228677_1684\Main.java:33: 错误: 需要class, interface或enum
st[i].clear();
^
0_0_16228677_1684\Main.java:34: 错误: 需要class, interface或enum
st[i].insert(i);
^
0_0_16228677_1684\Main.java:35: 错误: 需要class, interface或enum
}
^
0_0_16228677_1684\Main.java:39: 错误: 需要class, interface或enum
}
^
0_0_16228677_1684\Main.java:41: 错误: 需要class, interface或enum
f[b]=a; si[a]+=si[b]; si[b]=0;
^
0_0_16228677_1684\Main.java:41: 错误: 需要class, interface或enum
f[b]=a; si[a]+=si[b]; si[b]=0;
^
0_0_16228677_1684\Main.java:42: 错误: 需要class, interface或enum
st[a].insert(st[b].begin(),st[b].end()); st[b].clear();
^
0_0_16228677_1684\Main.java:42: 错误: 需要class, interface或enum
st[a].insert(st[b].begin(),st[b].end()); st[b].clear();
^
0_0_16228677_1684\Main.java:43: 错误: 需要class, interface或enum
int l= *(st[a].begin());
^
0_0_16228677_1684\Main.java:44: 错误: 需要class, interface或enum
it=st[a].end(); it--;
^
0_0_16228677_1684\Main.java:44: 错误: 需要class, interface或enum
it=st[a].end(); it--;
^
0_0_16228677_1684\Main.java:45: 错误: 需要class, interface或enum
int r= *(it);
^
0_0_16228677_1684\Main.java:46: 错误: 需要class, interface或enum
int mid=l+r>>1;
^
0_0_16228677_1684\Main.java:47: 错误: 需要class, interface或enum
it2=it=st[a].lower_bound(mid);
^
0_0_16228677_1684\Main.java:48: 错误: 需要class, interface或enum
it2++;
^
0_0_16228677_1684\Main.java:49: 错误: 需要class, interface或enum
double ans=inf;
^
0_0_16228677_1684\Main.java:50: 错误: 需要class, interface或enum
if(it2!=st[a].end()){
^
0_0_16228677_1684\Main.java:52: 错误: 需要class, interface或enum
double z=(x+y)*0.5;
^
0_0_16228677_1684\Main.java:53: 错误: 需要class, interface或enum
ans=max(z-l,r-z);
^
0_0_16228677_1684\Main.java:54: 错误: 需要class, interface或enum
}
^
0_0_16228677_1684\Main.java:56: 错误: 需要class, interface或enum
it--; it2--;
^
0_0_16228677_1684\Main.java:57: 错误: 需要class, interface或enum
int x=*it,y=*it2;
^
0_0_16228677_1684\Main.java:58: 错误: 需要class, interface或enum
double z=(x+y)*0.5;
^
0_0_16228677_1684\Main.java:59: 错误: 需要class, interface或enum
ans=min(ans,max(z-l,r-z));
^
0_0_16228677_1684\Main.java:60: 错误: 需要class, interface或enum
if(it!=st[a].begin()){
^
0_0_16228677_1684\Main.java:61: 错误: 需要class, interface或enum
it--; it2--;
^
0_0_16228677_1684\Main.java:62: 错误: 需要class, interface或enum
int x=*it,y=*it2;
^
0_0_16228677_1684\Main.java:63: 错误: 需要class, interface或enum
double z=(x+y)*0.5;
^
0_0_16228677_1684\Main.java:64: 错误: 需要class, interface或enum
ans=min(ans,max(z-l,r-z));
^
0_0_16228677_1684\Main.java:65: 错误: 需要class, interface或enum
}
^
0_0_16228677_1684\Main.java:68: 错误: 需要class, interface或enum
}
^
0_0_16228677_1684\Main.java:72: 错误: 需要class, interface或enum
scanf("%d",&T_T);
^
0_0_16228677_1684\Main.java:73: 错误: 需要class, interface或enum
while(T_T--){
^
0_0_16228677_1684\Main.java:75: 错误: 需要class, interface或enum
init();
^
0_0_16228677_1684\Main.java:76: 错误: 需要class, interface或enum
for(int i=1;i<n;i++){
^
0_0_16228677_1684\Main.java:76: 错误: 需要class, interface或enum
for(int i=1;i<n;i++){
^
0_0_16228677_1684\Main.java:76: 错误: 需要class, interface或enum
for(int i=1;i<n;i++){
^
0_0_16228677_1684\Main.java:78: 错误: 需要class, interface或enum
a=F(a); b=F(b);
^
0_0_16228677_1684\Main.java:78: 错误: 需要class, interface或enum
a=F(a); b=F(b);
^
0_0_16228677_1684\Main.java:79: 错误: 需要class, interface或enum
if(si[a]>si[b]) work(a,b);
^
0_0_16228677_1684\Main.java:80: 错误: 需要class, interface或enum
else work(b,a);
^
0_0_16228677_1684\Main.java:81: 错误: 需要class, interface或enum
}
^
0_0_16228677_1684\Main.java:84: 错误: 需要class, interface或enum
}
^
75 个错误
|