0_0_33944289_4313\Main.java:1: 错误: 非法字符: '#'
#include <bits/stdc++.h>
^
0_0_33944289_4313\Main.java:1: 错误: 需要class, interface或enum
#include <bits/stdc++.h>
^
0_0_33944289_4313\Main.java:3: 错误: 需要class, interface或enum
typedef long long ll;
^
0_0_33944289_4313\Main.java:4: 错误: 需要class, interface或enum
const int maxn=2e5+5;
^
0_0_33944289_4313\Main.java:5: 错误: 需要class, interface或enum
using namespace std;
^
0_0_33944289_4313\Main.java:6: 错误: 需要class, interface或enum
struct zzz {
^
0_0_33944289_4313\Main.java:8: 错误: 需要class, interface或enum
}e[maxn];
^
0_0_33944289_4313\Main.java:9: 错误: 需要class, interface或enum
struct no{
^
0_0_33944289_4313\Main.java:11: 错误: 需要class, interface或enum
}head[maxn];
^
0_0_33944289_4313\Main.java:12: 错误: 需要class, interface或enum
int vis[200005]={0};
^
0_0_33944289_4313\Main.java:13: 错误: 需要class, interface或enum
int tot;
^
0_0_33944289_4313\Main.java:14: 错误: 需要class, interface或enum
void add(int x, int y) {
^
0_0_33944289_4313\Main.java:16: 错误: 需要class, interface或enum
e[tot].nex = head[x].id;
^
0_0_33944289_4313\Main.java:17: 错误: 需要class, interface或enum
head[x].id = tot;
^
0_0_33944289_4313\Main.java:18: 错误: 需要class, interface或enum
}
^
0_0_33944289_4313\Main.java:20: 错误: 需要class, interface或enum
ll maxx=0;
^
0_0_33944289_4313\Main.java:21: 错误: 需要class, interface或enum
ll dfs1(ll i)
^
0_0_33944289_4313\Main.java:26: 错误: 需要class, interface或enum
}
^
0_0_33944289_4313\Main.java:27: 错误: 需要class, interface或enum
for(ll l=head[i].id;l;l=e[l].nex)
^
0_0_33944289_4313\Main.java:27: 错误: 需要class, interface或enum
for(ll l=head[i].id;l;l=e[l].nex)
^
0_0_33944289_4313\Main.java:31: 错误: 需要class, interface或enum
dfs1(e[l].t);
^
0_0_33944289_4313\Main.java:32: 错误: 需要class, interface或enum
num[i] += num[e[l].t];
^
0_0_33944289_4313\Main.java:33: 错误: 需要class, interface或enum
}
^
0_0_33944289_4313\Main.java:39: 错误: 需要class, interface或enum
scanf("%lld",&t);
^
0_0_33944289_4313\Main.java:40: 错误: 需要class, interface或enum
while(t--)
^
0_0_33944289_4313\Main.java:43: 错误: 需要class, interface或enum
ll n,k;
^
0_0_33944289_4313\Main.java:44: 错误: 需要class, interface或enum
tot=0;
^
0_0_33944289_4313\Main.java:45: 错误: 需要class, interface或enum
scanf("%lld %lld",&n,&k);
^
0_0_33944289_4313\Main.java:46: 错误: 需要class, interface或enum
ll x;
^
0_0_33944289_4313\Main.java:47: 错误: 需要class, interface或enum
for (ll i = 0; i <= n; ++i) {
^
0_0_33944289_4313\Main.java:47: 错误: 需要class, interface或enum
for (ll i = 0; i <= n; ++i) {
^
0_0_33944289_4313\Main.java:47: 错误: 需要class, interface或enum
for (ll i = 0; i <= n; ++i) {
^
0_0_33944289_4313\Main.java:49: 错误: 需要class, interface或enum
e[i].nex=0;
^
0_0_33944289_4313\Main.java:50: 错误: 需要class, interface或enum
e[i].t=0;
^
0_0_33944289_4313\Main.java:51: 错误: 需要class, interface或enum
vis[i]=0;
^
0_0_33944289_4313\Main.java:52: 错误: 需要class, interface或enum
num[i]=1;
^
0_0_33944289_4313\Main.java:53: 错误: 需要class, interface或enum
}
^
0_0_33944289_4313\Main.java:55: 错误: 需要class, interface或enum
for(ll i=0;i<n-1;i++)
^
0_0_33944289_4313\Main.java:55: 错误: 需要class, interface或enum
for(ll i=0;i<n-1;i++)
^
0_0_33944289_4313\Main.java:55: 错误: 需要class, interface或enum
for(ll i=0;i<n-1;i++)
^
0_0_33944289_4313\Main.java:58: 错误: 需要class, interface或enum
add(a,b);
^
0_0_33944289_4313\Main.java:59: 错误: 需要class, interface或enum
add(b,a);
^
0_0_33944289_4313\Main.java:60: 错误: 需要class, interface或enum
}
^
0_0_33944289_4313\Main.java:62: 错误: 需要class, interface或enum
dfs1(1);
^
0_0_33944289_4313\Main.java:63: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++)
^
0_0_33944289_4313\Main.java:63: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++)
^
0_0_33944289_4313\Main.java:63: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++)
^
0_0_33944289_4313\Main.java:67: 错误: 需要class, interface或enum
}
^
0_0_33944289_4313\Main.java:69: 错误: 需要class, interface或enum
}
^
49 个错误
|