0_0_26550792_4131\Main.java:1: 错误: 非法字符: '#'
#include<bits/stdc++.h>
^
0_0_26550792_4131\Main.java:1: 错误: 需要class, interface或enum
#include<bits/stdc++.h>
^
0_0_26550792_4131\Main.java:2: 错误: 非法字符: '#'
#define N 201000
^
0_0_26550792_4131\Main.java:3: 错误: 非法字符: '#'
#define LL long long
^
0_0_26550792_4131\Main.java:7: 错误: 需要class, interface或enum
vector<int> g[N];
^
0_0_26550792_4131\Main.java:8: 错误: 需要class, interface或enum
int n,m,sz[N];
^
0_0_26550792_4131\Main.java:10: 错误: 需要class, interface或enum
void getsize(int x,int fa)
^
0_0_26550792_4131\Main.java:13: 错误: 需要class, interface或enum
for(int i=0;i<g[x].size();i++)
^
0_0_26550792_4131\Main.java:13: 错误: 需要class, interface或enum
for(int i=0;i<g[x].size();i++)
^
0_0_26550792_4131\Main.java:13: 错误: 需要class, interface或enum
for(int i=0;i<g[x].size();i++)
^
0_0_26550792_4131\Main.java:16: 错误: 需要class, interface或enum
if (y==fa) continue;
^
0_0_26550792_4131\Main.java:17: 错误: 需要class, interface或enum
getsize(y,x); sz[x]+=sz[y];
^
0_0_26550792_4131\Main.java:17: 错误: 需要class, interface或enum
getsize(y,x); sz[x]+=sz[y];
^
0_0_26550792_4131\Main.java:18: 错误: 需要class, interface或enum
}
^
0_0_26550792_4131\Main.java:24: 错误: 需要class, interface或enum
cin>>T_T;
^
0_0_26550792_4131\Main.java:25: 错误: 需要class, interface或enum
while(T_T--)
^
0_0_26550792_4131\Main.java:28: 错误: 需要class, interface或enum
memset(g,0,sizeof(g));
^
0_0_26550792_4131\Main.java:29: 错误: 需要class, interface或enum
for(int i=1;i<n;i++)
^
0_0_26550792_4131\Main.java:29: 错误: 需要class, interface或enum
for(int i=1;i<n;i++)
^
0_0_26550792_4131\Main.java:29: 错误: 需要class, interface或enum
for(int i=1;i<n;i++)
^
0_0_26550792_4131\Main.java:32: 错误: 需要class, interface或enum
scanf("%d%d",&u,&v);
^
0_0_26550792_4131\Main.java:33: 错误: 需要class, interface或enum
g[u].push_back(v);
^
0_0_26550792_4131\Main.java:34: 错误: 需要class, interface或enum
g[v].push_back(u);
^
0_0_26550792_4131\Main.java:35: 错误: 需要class, interface或enum
}
^
0_0_26550792_4131\Main.java:37: 错误: 需要class, interface或enum
getsize(1,0);
^
0_0_26550792_4131\Main.java:38: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++)
^
0_0_26550792_4131\Main.java:38: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++)
^
0_0_26550792_4131\Main.java:38: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++)
^
0_0_26550792_4131\Main.java:40: 错误: 需要class, interface或enum
printf("%d\n",ans);
^
0_0_26550792_4131\Main.java:41: 错误: 需要class, interface或enum
}
^
30 个错误
|