0_0_21644073_21323\Main.java:1: 错误: 非法字符: '#'
#include <map>
^
0_0_21644073_21323\Main.java:1: 错误: 需要class, interface或enum
#include <map>
^
0_0_21644073_21323\Main.java:2: 错误: 非法字符: '#'
#include <iostream>
^
0_0_21644073_21323\Main.java:3: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_21644073_21323\Main.java:4: 错误: 非法字符: '#'
#include <cstring>
^
0_0_21644073_21323\Main.java:5: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_21644073_21323\Main.java:6: 错误: 非法字符: '#'
#include <queue>
^
0_0_21644073_21323\Main.java:7: 错误: 非法字符: '#'
#include <vector>
^
0_0_21644073_21323\Main.java:8: 错误: 非法字符: '#'
#include <string>
^
0_0_21644073_21323\Main.java:11: 错误: 需要class, interface或enum
typedef long long int ll;
^
0_0_21644073_21323\Main.java:12: 错误: 需要class, interface或enum
const int MAXN=505;
^
0_0_21644073_21323\Main.java:13: 错误: 需要class, interface或enum
int fa[MAXN];
^
0_0_21644073_21323\Main.java:14: 错误: 需要class, interface或enum
int dd[MAXN];
^
0_0_21644073_21323\Main.java:15: 错误: 需要class, interface或enum
bool vis[MAXN];
^
0_0_21644073_21323\Main.java:16: 错误: 需要class, interface或enum
queue<int> que;
^
0_0_21644073_21323\Main.java:18: 错误: 需要class, interface或enum
int main(){
^
0_0_21644073_21323\Main.java:20: 错误: 需要class, interface或enum
scanf("%d",&t);
^
0_0_21644073_21323\Main.java:21: 错误: 需要class, interface或enum
for(int cas=1;cas<=t;cas++){
^
0_0_21644073_21323\Main.java:21: 错误: 需要class, interface或enum
for(int cas=1;cas<=t;cas++){
^
0_0_21644073_21323\Main.java:21: 错误: 需要class, interface或enum
for(int cas=1;cas<=t;cas++){
^
0_0_21644073_21323\Main.java:23: 错误: 需要class, interface或enum
memset(vis,false,sizeof(vis));
^
0_0_21644073_21323\Main.java:24: 错误: 需要class, interface或enum
scanf("%d%d",&n,&k);
^
0_0_21644073_21323\Main.java:25: 错误: 需要class, interface或enum
fa[1]=-1;
^
0_0_21644073_21323\Main.java:26: 错误: 需要class, interface或enum
for(int i=2;i<=n;i++){
^
0_0_21644073_21323\Main.java:26: 错误: 需要class, interface或enum
for(int i=2;i<=n;i++){
^
0_0_21644073_21323\Main.java:26: 错误: 需要class, interface或enum
for(int i=2;i<=n;i++){
^
0_0_21644073_21323\Main.java:28: 错误: 需要class, interface或enum
fa[i]=p;
^
0_0_21644073_21323\Main.java:29: 错误: 需要class, interface或enum
dd[i]++;
^
0_0_21644073_21323\Main.java:30: 错误: 需要class, interface或enum
dd[p]++;
^
0_0_21644073_21323\Main.java:31: 错误: 需要class, interface或enum
}
^
0_0_21644073_21323\Main.java:34: 错误: 需要class, interface或enum
for(int i=2;i<=n;i++){
^
0_0_21644073_21323\Main.java:34: 错误: 需要class, interface或enum
for(int i=2;i<=n;i++){
^
0_0_21644073_21323\Main.java:34: 错误: 需要class, interface或enum
for(int i=2;i<=n;i++){
^
0_0_21644073_21323\Main.java:37: 错误: 需要class, interface或enum
}
^
0_0_21644073_21323\Main.java:40: 错误: 需要class, interface或enum
int res=0;
^
0_0_21644073_21323\Main.java:41: 错误: 需要class, interface或enum
while(!que.empty()){
^
0_0_21644073_21323\Main.java:43: 错误: 需要class, interface或enum
que.pop();
^
0_0_21644073_21323\Main.java:44: 错误: 需要class, interface或enum
if(vis[u])
^
0_0_21644073_21323\Main.java:46: 错误: 需要class, interface或enum
int v=fa[u];
^
0_0_21644073_21323\Main.java:47: 错误: 需要class, interface或enum
if(!vis[v]){
^
0_0_21644073_21323\Main.java:49: 错误: 需要class, interface或enum
tot+=2;
^
0_0_21644073_21323\Main.java:50: 错误: 需要class, interface或enum
if(fa[v]!=-1)
^
0_0_21644073_21323\Main.java:52: 错误: 需要class, interface或enum
}
^
0_0_21644073_21323\Main.java:55: 错误: 需要class, interface或enum
}
^
0_0_21644073_21323\Main.java:58: 错误: 需要class, interface或enum
else
^
0_0_21644073_21323\Main.java:60: 错误: 需要class, interface或enum
}
^
0_0_21644073_21323\Main.java:62: 错误: 需要class, interface或enum
}
^
47 个错误
|