0_0_22680315_21856\Main.java:1: 错误: 非法字符: '#'
#include<stdio.h>
^
0_0_22680315_21856\Main.java:1: 错误: 需要class, interface或enum
#include<stdio.h>
^
0_0_22680315_21856\Main.java:2: 错误: 非法字符: '#'
#include<string.h>
^
0_0_22680315_21856\Main.java:3: 错误: 非法字符: '#'
#include<algorithm>
^
0_0_22680315_21856\Main.java:4: 错误: 非法字符: '#'
#include<queue>
^
0_0_22680315_21856\Main.java:5: 错误: 非法字符: '#'
#include<stack>
^
0_0_22680315_21856\Main.java:6: 错误: 非法字符: '#'
#include<math.h>
^
0_0_22680315_21856\Main.java:7: 错误: 非法字符: '#'
#include<map>
^
0_0_22680315_21856\Main.java:8: 错误: 非法字符: '#'
#include<iostream>
^
0_0_22680315_21856\Main.java:9: 错误: 非法字符: '#'
#define INF 0x3f3f3f3f
^
0_0_22680315_21856\Main.java:10: 错误: 非法字符: '#'
#define lson l,m,root<<1
^
0_0_22680315_21856\Main.java:11: 错误: 非法字符: '#'
#define rson m+1,r,root<<1|1
^
0_0_22680315_21856\Main.java:12: 错误: 非法字符: '#'
#define PI acos(-1.0)
^
0_0_22680315_21856\Main.java:13: 错误: 非法字符: '#'
#define P=18446744073709551616
^
0_0_22680315_21856\Main.java:15: 错误: 需要class, interface或enum
using namespace std;
^
0_0_22680315_21856\Main.java:16: 错误: 需要class, interface或enum
const int mod=1e9+7;
^
0_0_22680315_21856\Main.java:17: 错误: 需要class, interface或enum
const int maxn=200005;
^
0_0_22680315_21856\Main.java:18: 错误: 需要class, interface或enum
vector<int>v[maxn];
^
0_0_22680315_21856\Main.java:19: 错误: 需要class, interface或enum
int vis[maxn];
^
0_0_22680315_21856\Main.java:20: 错误: 需要class, interface或enum
int a[maxn],b[maxn];
^
0_0_22680315_21856\Main.java:21: 错误: 需要class, interface或enum
int in[maxn];
^
0_0_22680315_21856\Main.java:22: 错误: 需要class, interface或enum
void dfs(int u)//DFS判断图是否连通
^
0_0_22680315_21856\Main.java:25: 错误: 需要class, interface或enum
for(int i=0; i<v[u].size(); i++)
^
0_0_22680315_21856\Main.java:25: 错误: 需要class, interface或enum
for(int i=0; i<v[u].size(); i++)
^
0_0_22680315_21856\Main.java:25: 错误: 需要class, interface或enum
for(int i=0; i<v[u].size(); i++)
^
0_0_22680315_21856\Main.java:29: 错误: 需要class, interface或enum
if(!vis[kk])
^
0_0_22680315_21856\Main.java:32: 错误: 需要class, interface或enum
}
^
0_0_22680315_21856\Main.java:38: 错误: 需要class, interface或enum
for(int i=1; i<=n; i++)
^
0_0_22680315_21856\Main.java:38: 错误: 需要class, interface或enum
for(int i=1; i<=n; i++)
^
0_0_22680315_21856\Main.java:38: 错误: 需要class, interface或enum
for(int i=1; i<=n; i++)
^
0_0_22680315_21856\Main.java:42: 错误: 需要class, interface或enum
else
^
0_0_22680315_21856\Main.java:44: 错误: 需要class, interface或enum
}
^
0_0_22680315_21856\Main.java:47: 错误: 需要class, interface或enum
else
^
0_0_22680315_21856\Main.java:49: 错误: 需要class, interface或enum
}
^
0_0_22680315_21856\Main.java:54: 错误: 需要class, interface或enum
scanf("%d",&t);
^
0_0_22680315_21856\Main.java:55: 错误: 需要class, interface或enum
while(t--)
^
0_0_22680315_21856\Main.java:58: 错误: 需要class, interface或enum
memset(in,0,sizeof(in));
^
0_0_22680315_21856\Main.java:59: 错误: 需要class, interface或enum
memset(vis,0,sizeof(vis));
^
0_0_22680315_21856\Main.java:60: 错误: 需要class, interface或enum
for(int i=1; i<n; i++)
^
0_0_22680315_21856\Main.java:60: 错误: 需要class, interface或enum
for(int i=1; i<n; i++)
^
0_0_22680315_21856\Main.java:60: 错误: 需要class, interface或enum
for(int i=1; i<n; i++)
^
0_0_22680315_21856\Main.java:63: 错误: 需要class, interface或enum
in[a[i]]++;
^
0_0_22680315_21856\Main.java:64: 错误: 需要class, interface或enum
in[b[i]]++;
^
0_0_22680315_21856\Main.java:65: 错误: 需要class, interface或enum
}
^
0_0_22680315_21856\Main.java:69: 错误: 需要class, interface或enum
continue;
^
0_0_22680315_21856\Main.java:70: 错误: 需要class, interface或enum
}
^
0_0_22680315_21856\Main.java:72: 错误: 需要class, interface或enum
for(int i=1; i<n; i++)
^
0_0_22680315_21856\Main.java:72: 错误: 需要class, interface或enum
for(int i=1; i<n; i++)
^
0_0_22680315_21856\Main.java:72: 错误: 需要class, interface或enum
for(int i=1; i<n; i++)
^
0_0_22680315_21856\Main.java:76: 错误: 需要class, interface或enum
memset(vis,0,sizeof(vis));
^
0_0_22680315_21856\Main.java:77: 错误: 需要class, interface或enum
for(int j=1;j<=n;j++)
^
0_0_22680315_21856\Main.java:77: 错误: 需要class, interface或enum
for(int j=1;j<=n;j++)
^
0_0_22680315_21856\Main.java:77: 错误: 需要class, interface或enum
for(int j=1;j<=n;j++)
^
0_0_22680315_21856\Main.java:79: 错误: 需要class, interface或enum
for(int j=1; j<n; j++)
^
0_0_22680315_21856\Main.java:79: 错误: 需要class, interface或enum
for(int j=1; j<n; j++)
^
0_0_22680315_21856\Main.java:79: 错误: 需要class, interface或enum
for(int j=1; j<n; j++)
^
0_0_22680315_21856\Main.java:84: 错误: 需要class, interface或enum
v[b[j]].push_back(a[j]);
^
0_0_22680315_21856\Main.java:85: 错误: 需要class, interface或enum
}
^
0_0_22680315_21856\Main.java:88: 错误: 需要class, interface或enum
ans+=solve(n,k);
^
0_0_22680315_21856\Main.java:89: 错误: 需要class, interface或enum
}
^
0_0_22680315_21856\Main.java:91: 错误: 需要class, interface或enum
}
^
61 个错误
|