0_0_21760909_19483\Main.java:1: 错误: 非法字符: '#'
#include <stdio.h>
^
0_0_21760909_19483\Main.java:1: 错误: 需要class, interface或enum
#include <stdio.h>
^
0_0_21760909_19483\Main.java:2: 错误: 非法字符: '#'
#include <string.h>
^
0_0_21760909_19483\Main.java:3: 错误: 非法字符: '#'
#include <iostream>
^
0_0_21760909_19483\Main.java:4: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_21760909_19483\Main.java:5: 错误: 非法字符: '#'
#include <vector>
^
0_0_21760909_19483\Main.java:6: 错误: 非法字符: '#'
#include <queue>
^
0_0_21760909_19483\Main.java:7: 错误: 非法字符: '#'
#include <stack>
^
0_0_21760909_19483\Main.java:8: 错误: 非法字符: '#'
#include <set>
^
0_0_21760909_19483\Main.java:9: 错误: 非法字符: '#'
#include <map>
^
0_0_21760909_19483\Main.java:10: 错误: 非法字符: '#'
#include <string>
^
0_0_21760909_19483\Main.java:11: 错误: 非法字符: '#'
#include <math.h>
^
0_0_21760909_19483\Main.java:12: 错误: 非法字符: '#'
#include <stdlib.h>
^
0_0_21760909_19483\Main.java:13: 错误: 非法字符: '#'
#include <time.h>
^
0_0_21760909_19483\Main.java:14: 错误: 非法字符: '#'
#include <bitset>
^
0_0_21760909_19483\Main.java:15: 错误: 非法字符: '#'
#define INF 0x3f3f3f3f
^
0_0_21760909_19483\Main.java:16: 错误: 非法字符: '#'
#define eps 1e-6
^
0_0_21760909_19483\Main.java:17: 错误: 非法字符: '#'
#define PI 3.1415926
^
0_0_21760909_19483\Main.java:18: 错误: 非法字符: '#'
#define mod 1000000007
^
0_0_21760909_19483\Main.java:19: 错误: 非法字符: '#'
#define base 2333
^
0_0_21760909_19483\Main.java:21: 错误: 需要class, interface或enum
typedef long long LL;
^
0_0_21760909_19483\Main.java:22: 错误: 需要class, interface或enum
const int inf = 1e9;
^
0_0_21760909_19483\Main.java:23: 错误: 需要class, interface或enum
const int maxn = 4e4 + 10;
^
0_0_21760909_19483\Main.java:24: 错误: 需要class, interface或enum
const int maxx = 1e4 + 10;
^
0_0_21760909_19483\Main.java:25: 错误: 需要class, interface或enum
int t, n, m, x, y, v, len, head[maxn], dep[maxn], dis[maxn], up[maxn][22];
^
0_0_21760909_19483\Main.java:26: 错误: 需要class, interface或enum
struct edge {
^
0_0_21760909_19483\Main.java:28: 错误: 需要class, interface或enum
} e[maxn<<1];
^
0_0_21760909_19483\Main.java:30: 错误: 需要class, interface或enum
void add(int from, int to, int val) {
^
0_0_21760909_19483\Main.java:32: 错误: 需要class, interface或enum
e[len].val = val;
^
0_0_21760909_19483\Main.java:33: 错误: 需要class, interface或enum
e[len].next = head[from];
^
0_0_21760909_19483\Main.java:34: 错误: 需要class, interface或enum
head[from] = len++;
^
0_0_21760909_19483\Main.java:35: 错误: 需要class, interface或enum
}
^
0_0_21760909_19483\Main.java:38: 错误: 需要class, interface或enum
for(int i = head[u]; ~i; i = e[i].next) {
^
0_0_21760909_19483\Main.java:38: 错误: 需要class, interface或enum
for(int i = head[u]; ~i; i = e[i].next) {
^
0_0_21760909_19483\Main.java:40: 错误: 需要class, interface或enum
if(v == up[u][0]) continue;
^
0_0_21760909_19483\Main.java:41: 错误: 需要class, interface或enum
dep[v] = dep[u]+1;
^
0_0_21760909_19483\Main.java:42: 错误: 需要class, interface或enum
dis[v] = dis[u]+e[i].val;
^
0_0_21760909_19483\Main.java:43: 错误: 需要class, interface或enum
up[v][0] = u;
^
0_0_21760909_19483\Main.java:44: 错误: 需要class, interface或enum
dfs(v);
^
0_0_21760909_19483\Main.java:45: 错误: 需要class, interface或enum
}
^
0_0_21760909_19483\Main.java:49: 错误: 需要class, interface或enum
for(int j = 1; j < 20; j++) {
^
0_0_21760909_19483\Main.java:49: 错误: 需要class, interface或enum
for(int j = 1; j < 20; j++) {
^
0_0_21760909_19483\Main.java:50: 错误: 需要class, interface或enum
for(int i = 1; i <= n; i++)
^
0_0_21760909_19483\Main.java:50: 错误: 需要class, interface或enum
for(int i = 1; i <= n; i++)
^
0_0_21760909_19483\Main.java:52: 错误: 需要class, interface或enum
}
^
0_0_21760909_19483\Main.java:57: 错误: 需要class, interface或enum
int dd = dep[u]-dep[v];
^
0_0_21760909_19483\Main.java:58: 错误: 需要class, interface或enum
for(int i = 0; i < 20; i++) {
^
0_0_21760909_19483\Main.java:58: 错误: 需要class, interface或enum
for(int i = 0; i < 20; i++) {
^
0_0_21760909_19483\Main.java:58: 错误: 需要class, interface或enum
for(int i = 0; i < 20; i++) {
^
0_0_21760909_19483\Main.java:61: 错误: 需要class, interface或enum
}
^
0_0_21760909_19483\Main.java:63: 错误: 需要class, interface或enum
for(int i = 20; i >= 0; i--) {
^
0_0_21760909_19483\Main.java:63: 错误: 需要class, interface或enum
for(int i = 20; i >= 0; i--) {
^
0_0_21760909_19483\Main.java:66: 错误: 需要class, interface或enum
v = up[v][i];
^
0_0_21760909_19483\Main.java:67: 错误: 需要class, interface或enum
}
^
0_0_21760909_19483\Main.java:71: 错误: 需要class, interface或enum
}
^
0_0_21760909_19483\Main.java:75: 错误: 需要class, interface或enum
while(t--) {
^
0_0_21760909_19483\Main.java:77: 错误: 需要class, interface或enum
memset(head, -1, sizeof(head));
^
0_0_21760909_19483\Main.java:78: 错误: 需要class, interface或enum
len = 0;
^
0_0_21760909_19483\Main.java:79: 错误: 需要class, interface或enum
for(int i = 1; i < n; i++) {
^
0_0_21760909_19483\Main.java:79: 错误: 需要class, interface或enum
for(int i = 1; i < n; i++) {
^
0_0_21760909_19483\Main.java:79: 错误: 需要class, interface或enum
for(int i = 1; i < n; i++) {
^
0_0_21760909_19483\Main.java:81: 错误: 需要class, interface或enum
add(x, y, v), add(y, x, v);
^
0_0_21760909_19483\Main.java:82: 错误: 需要class, interface或enum
}
^
0_0_21760909_19483\Main.java:84: 错误: 需要class, interface或enum
init();
^
0_0_21760909_19483\Main.java:85: 错误: 需要class, interface或enum
for(int i = 0; i < m; i++) {
^
0_0_21760909_19483\Main.java:85: 错误: 需要class, interface或enum
for(int i = 0; i < m; i++) {
^
0_0_21760909_19483\Main.java:85: 错误: 需要class, interface或enum
for(int i = 0; i < m; i++) {
^
0_0_21760909_19483\Main.java:87: 错误: 需要class, interface或enum
v = LCA(x, y);
^
0_0_21760909_19483\Main.java:88: 错误: 需要class, interface或enum
int ans = dis[x]+dis[y]-2*dis[v];
^
0_0_21760909_19483\Main.java:89: 错误: 需要class, interface或enum
printf("%d\n", ans);
^
0_0_21760909_19483\Main.java:90: 错误: 需要class, interface或enum
}
^
0_0_21760909_19483\Main.java:99: 错误: 需要class, interface或enum
}
^
72 个错误
|