0_0_20346543_14258\Main.java:1: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_20346543_14258\Main.java:1: 错误: 需要class, interface或enum
#include <cstdio>
^
0_0_20346543_14258\Main.java:2: 错误: 非法字符: '#'
#include <vector>
^
0_0_20346543_14258\Main.java:3: 错误: 非法字符: '#'
#include <cstring>
^
0_0_20346543_14258\Main.java:6: 错误: 需要class, interface或enum
const int MAXN = 1e5 + 5;
^
0_0_20346543_14258\Main.java:7: 错误: 需要class, interface或enum
int n;
^
0_0_20346543_14258\Main.java:8: 错误: 需要class, interface或enum
vector<int> arc[MAXN];
^
0_0_20346543_14258\Main.java:9: 错误: 需要class, interface或enum
vector<int> divisor[MAXN];
^
0_0_20346543_14258\Main.java:10: 错误: 需要class, interface或enum
int val[MAXN];
^
0_0_20346543_14258\Main.java:11: 错误: 需要class, interface或enum
int count[MAXN];
^
0_0_20346543_14258\Main.java:12: 错误: 需要class, interface或enum
int res[MAXN];
^
0_0_20346543_14258\Main.java:14: 错误: 需要class, interface或enum
void init() {
^
0_0_20346543_14258\Main.java:15: 错误: 需要class, interface或enum
for (int i = 1; i < MAXN; i++) {
^
0_0_20346543_14258\Main.java:15: 错误: 需要class, interface或enum
for (int i = 1; i < MAXN; i++) {
^
0_0_20346543_14258\Main.java:17: 错误: 需要class, interface或enum
for (int x = 2; x * x <= e; x++) {
^
0_0_20346543_14258\Main.java:17: 错误: 需要class, interface或enum
for (int x = 2; x * x <= e; x++) {
^
0_0_20346543_14258\Main.java:17: 错误: 需要class, interface或enum
for (int x = 2; x * x <= e; x++) {
^
0_0_20346543_14258\Main.java:20: 错误: 需要class, interface或enum
while (e % x == 0) {
^
0_0_20346543_14258\Main.java:22: 错误: 需要class, interface或enum
}
^
0_0_20346543_14258\Main.java:27: 错误: 需要class, interface或enum
}
^
0_0_20346543_14258\Main.java:33: 错误: 需要class, interface或enum
for (int mark = 1, size = divisor[e].size(); mark < (1 << size); mark++) {
^
0_0_20346543_14258\Main.java:33: 错误: 需要class, interface或enum
for (int mark = 1, size = divisor[e].size(); mark < (1 << size); mark++) {
^
0_0_20346543_14258\Main.java:33: 错误: 需要class, interface或enum
for (int mark = 1, size = divisor[e].size(); mark < (1 << size); mark++) {
^
0_0_20346543_14258\Main.java:35: 错误: 需要class, interface或enum
int mul = 1;
^
0_0_20346543_14258\Main.java:36: 错误: 需要class, interface或enum
for (int i = 0; i < size; i++) {
^
0_0_20346543_14258\Main.java:36: 错误: 需要class, interface或enum
for (int i = 0; i < size; i++) {
^
0_0_20346543_14258\Main.java:36: 错误: 需要class, interface或enum
for (int i = 0; i < size; i++) {
^
0_0_20346543_14258\Main.java:39: 错误: 需要class, interface或enum
mul *= divisor[e][i];
^
0_0_20346543_14258\Main.java:40: 错误: 需要class, interface或enum
}
^
0_0_20346543_14258\Main.java:44: 错误: 需要class, interface或enum
} else {
^
0_0_20346543_14258\Main.java:46: 错误: 需要class, interface或enum
}
^
0_0_20346543_14258\Main.java:48: 错误: 需要class, interface或enum
}
^
0_0_20346543_14258\Main.java:50: 错误: 需要class, interface或enum
}
^
0_0_20346543_14258\Main.java:55: 错误: 需要class, interface或enum
int son = 1;
^
0_0_20346543_14258\Main.java:56: 错误: 需要class, interface或enum
for (int i = 0; i < arc[u].size(); i++) {
^
0_0_20346543_14258\Main.java:56: 错误: 需要class, interface或enum
for (int i = 0; i < arc[u].size(); i++) {
^
0_0_20346543_14258\Main.java:56: 错误: 需要class, interface或enum
for (int i = 0; i < arc[u].size(); i++) {
^
0_0_20346543_14258\Main.java:58: 错误: 需要class, interface或enum
if (v != fa) {
^
0_0_20346543_14258\Main.java:60: 错误: 需要class, interface或enum
}
^
0_0_20346543_14258\Main.java:63: 错误: 需要class, interface或enum
res[u] = son - (after - before);
^
0_0_20346543_14258\Main.java:64: 错误: 需要class, interface或enum
if (val[u] == 1) {
^
0_0_20346543_14258\Main.java:66: 错误: 需要class, interface或enum
}
^
0_0_20346543_14258\Main.java:68: 错误: 需要class, interface或enum
}
^
0_0_20346543_14258\Main.java:72: 错误: 需要class, interface或enum
int T = 0;
^
0_0_20346543_14258\Main.java:73: 错误: 需要class, interface或enum
while (~scanf("%d", &n)) {
^
0_0_20346543_14258\Main.java:75: 错误: 需要class, interface或enum
for (int i = 1; i <= n; i++) {
^
0_0_20346543_14258\Main.java:75: 错误: 需要class, interface或enum
for (int i = 1; i <= n; i++) {
^
0_0_20346543_14258\Main.java:75: 错误: 需要class, interface或enum
for (int i = 1; i <= n; i++) {
^
0_0_20346543_14258\Main.java:77: 错误: 需要class, interface或enum
}
^
0_0_20346543_14258\Main.java:78: 错误: 需要class, interface或enum
for (int i = 0; i < n - 1; i++) {
^
0_0_20346543_14258\Main.java:78: 错误: 需要class, interface或enum
for (int i = 0; i < n - 1; i++) {
^
0_0_20346543_14258\Main.java:80: 错误: 需要class, interface或enum
scanf("%d%d", &u, &v);
^
0_0_20346543_14258\Main.java:81: 错误: 需要class, interface或enum
arc[u].push_back(v);
^
0_0_20346543_14258\Main.java:82: 错误: 需要class, interface或enum
arc[v].push_back(u);
^
0_0_20346543_14258\Main.java:83: 错误: 需要class, interface或enum
}
^
0_0_20346543_14258\Main.java:84: 错误: 需要class, interface或enum
for (int i = 1; i <= n; i++) {
^
0_0_20346543_14258\Main.java:84: 错误: 需要class, interface或enum
for (int i = 1; i <= n; i++) {
^
0_0_20346543_14258\Main.java:86: 错误: 需要class, interface或enum
}
^
0_0_20346543_14258\Main.java:88: 错误: 需要class, interface或enum
printf("Case #%d: ", ++T);
^
0_0_20346543_14258\Main.java:89: 错误: 需要class, interface或enum
for (int i = 1; i <= n; i++) {
^
0_0_20346543_14258\Main.java:89: 错误: 需要class, interface或enum
for (int i = 1; i <= n; i++) {
^
0_0_20346543_14258\Main.java:89: 错误: 需要class, interface或enum
for (int i = 1; i <= n; i++) {
^
0_0_20346543_14258\Main.java:91: 错误: 需要class, interface或enum
}
^
0_0_20346543_14258\Main.java:93: 错误: 需要class, interface或enum
}
^
0_0_20346543_14258\Main.java:95: 错误: 需要class, interface或enum
}
^
65 个错误
|