0_0_14803061_4565\Main.java:1: 错误: 非法字符: '#'
#include <iostream>
^
0_0_14803061_4565\Main.java:1: 错误: 需要class, interface或enum
#include <iostream>
^
0_0_14803061_4565\Main.java:2: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_14803061_4565\Main.java:3: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_14803061_4565\Main.java:4: 错误: 非法字符: '#'
#include <map>
^
0_0_14803061_4565\Main.java:5: 错误: 非法字符: '#'
#include <queue>
^
0_0_14803061_4565\Main.java:6: 错误: 非法字符: '#'
#include <cmath>
^
0_0_14803061_4565\Main.java:7: 错误: 非法字符: '#'
#include <string.h>
^
0_0_14803061_4565\Main.java:8: 错误: 非法字符: '#'
#include <map>
^
0_0_14803061_4565\Main.java:9: 错误: 非法字符: '#'
#include <vector>
^
0_0_14803061_4565\Main.java:10: 错误: 非法字符: '#'
#define ll long long
^
0_0_14803061_4565\Main.java:12: 错误: 需要class, interface或enum
const int MOD=1e9+7;
^
0_0_14803061_4565\Main.java:13: 错误: 需要class, interface或enum
const int INF=0x3f3f3f3f;
^
0_0_14803061_4565\Main.java:14: 错误: 需要class, interface或enum
const int maxx=100005;
^
0_0_14803061_4565\Main.java:15: 错误: 需要class, interface或enum
ll ans;
^
0_0_14803061_4565\Main.java:16: 错误: 需要class, interface或enum
int n,m,q;
^
0_0_14803061_4565\Main.java:17: 错误: 需要class, interface或enum
int fa[maxx];
^
0_0_14803061_4565\Main.java:18: 错误: 需要class, interface或enum
int rak[maxx];
^
0_0_14803061_4565\Main.java:19: 错误: 需要class, interface或enum
bool vs[maxx];
^
0_0_14803061_4565\Main.java:20: 错误: 需要class, interface或enum
struct Edge
^
0_0_14803061_4565\Main.java:23: 错误: 需要class, interface或enum
ll val;
^
0_0_14803061_4565\Main.java:24: 错误: 需要class, interface或enum
}edge[maxx];
^
0_0_14803061_4565\Main.java:25: 错误: 需要class, interface或enum
bool cmp(Edge x,Edge y)
^
0_0_14803061_4565\Main.java:28: 错误: 需要class, interface或enum
}
^
0_0_14803061_4565\Main.java:32: 错误: 需要class, interface或enum
ll ans;
^
0_0_14803061_4565\Main.java:33: 错误: 需要class, interface或enum
}qu[5005];
^
0_0_14803061_4565\Main.java:34: 错误: 需要class, interface或enum
bool cmp1(que x, que y)
^
0_0_14803061_4565\Main.java:37: 错误: 需要class, interface或enum
}
^
0_0_14803061_4565\Main.java:41: 错误: 需要class, interface或enum
}
^
0_0_14803061_4565\Main.java:46: 错误: 需要class, interface或enum
return fa[x];
^
0_0_14803061_4565\Main.java:47: 错误: 需要class, interface或enum
}
^
0_0_14803061_4565\Main.java:51: 错误: 需要class, interface或enum
y=findfa(y);
^
0_0_14803061_4565\Main.java:52: 错误: 需要class, interface或enum
if(x==y) return ;
^
0_0_14803061_4565\Main.java:53: 错误: 需要class, interface或enum
if(vs[xx]==0&&vs[yy]==0)
^
0_0_14803061_4565\Main.java:56: 错误: 需要class, interface或enum
}
^
0_0_14803061_4565\Main.java:60: 错误: 需要class, interface或enum
qu[i].ans-=rak[y]*(rak[y]-1);
^
0_0_14803061_4565\Main.java:61: 错误: 需要class, interface或enum
qu[i].ans+=(rak[x]+rak[y])*(rak[x]+rak[y]-1);
^
0_0_14803061_4565\Main.java:62: 错误: 需要class, interface或enum
}
^
0_0_14803061_4565\Main.java:66: 错误: 需要class, interface或enum
}
^
0_0_14803061_4565\Main.java:70: 错误: 需要class, interface或enum
}
^
0_0_14803061_4565\Main.java:72: 错误: 需要class, interface或enum
if(rak[x]>rak[y])
^
0_0_14803061_4565\Main.java:75: 错误: 需要class, interface或enum
rak[x]+=rak[y];
^
0_0_14803061_4565\Main.java:76: 错误: 需要class, interface或enum
}
^
0_0_14803061_4565\Main.java:80: 错误: 需要class, interface或enum
fa[x]=y;
^
0_0_14803061_4565\Main.java:81: 错误: 需要class, interface或enum
}
^
0_0_14803061_4565\Main.java:86: 错误: 需要class, interface或enum
while(scanf("%d",&t)!=EOF)
^
0_0_14803061_4565\Main.java:90: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++)
^
0_0_14803061_4565\Main.java:90: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++)
^
0_0_14803061_4565\Main.java:90: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++)
^
0_0_14803061_4565\Main.java:92: 错误: 需要class, interface或enum
for(int i=0;i<m;i++)
^
0_0_14803061_4565\Main.java:92: 错误: 需要class, interface或enum
for(int i=0;i<m;i++)
^
0_0_14803061_4565\Main.java:92: 错误: 需要class, interface或enum
for(int i=0;i<m;i++)
^
0_0_14803061_4565\Main.java:95: 错误: 需要class, interface或enum
scanf("%d%d%d",&edge[i].u,&edge[i].v,&edge[i].val);
^
0_0_14803061_4565\Main.java:96: 错误: 需要class, interface或enum
}
^
0_0_14803061_4565\Main.java:98: 错误: 需要class, interface或enum
for(int i=0;i<q;i++){
^
0_0_14803061_4565\Main.java:98: 错误: 需要class, interface或enum
for(int i=0;i<q;i++){
^
0_0_14803061_4565\Main.java:98: 错误: 需要class, interface或enum
for(int i=0;i<q;i++){
^
0_0_14803061_4565\Main.java:100: 错误: 需要class, interface或enum
qu[i].id=i;
^
0_0_14803061_4565\Main.java:101: 错误: 需要class, interface或enum
qu[i].ans=0;
^
0_0_14803061_4565\Main.java:102: 错误: 需要class, interface或enum
}
^
0_0_14803061_4565\Main.java:104: 错误: 需要class, interface或enum
int pre=0;
^
0_0_14803061_4565\Main.java:105: 错误: 需要class, interface或enum
memset(vs,0,sizeof(vs));
^
0_0_14803061_4565\Main.java:106: 错误: 需要class, interface或enum
for(int i=0;i<q;i++)
^
0_0_14803061_4565\Main.java:106: 错误: 需要class, interface或enum
for(int i=0;i<q;i++)
^
0_0_14803061_4565\Main.java:106: 错误: 需要class, interface或enum
for(int i=0;i<q;i++)
^
0_0_14803061_4565\Main.java:110: 错误: 需要class, interface或enum
while(edge[pre].val<=qu[i].x&&pre<=m)
^
0_0_14803061_4565\Main.java:113: 错误: 需要class, interface或enum
int fy=findfa(edge[pre].v);
^
0_0_14803061_4565\Main.java:114: 错误: 需要class, interface或enum
if(fx!=fy)
^
0_0_14803061_4565\Main.java:117: 错误: 需要class, interface或enum
}
^
0_0_14803061_4565\Main.java:119: 错误: 需要class, interface或enum
}
^
0_0_14803061_4565\Main.java:122: 错误: 需要class, interface或enum
for(int i=0;i<q;i++)
^
0_0_14803061_4565\Main.java:122: 错误: 需要class, interface或enum
for(int i=0;i<q;i++)
^
0_0_14803061_4565\Main.java:122: 错误: 需要class, interface或enum
for(int i=0;i<q;i++)
^
0_0_14803061_4565\Main.java:124: 错误: 需要class, interface或enum
}
^
0_0_14803061_4565\Main.java:127: 错误: 需要class, interface或enum
}
^
75 个错误
|