0_0_26768074_27906\Main.java:1: 错误: 非法字符: '#'
#include <iostream>
^
0_0_26768074_27906\Main.java:1: 错误: 需要class, interface或enum
#include <iostream>
^
0_0_26768074_27906\Main.java:2: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_26768074_27906\Main.java:3: 错误: 非法字符: '#'
#include <vector>
^
0_0_26768074_27906\Main.java:5: 错误: 非法字符: '#'
#define MAXNUM 111111
^
0_0_26768074_27906\Main.java:5: 错误: 需要class, interface或enum
#define MAXNUM 111111
^
0_0_26768074_27906\Main.java:7: 错误: 需要class, interface或enum
int numb[MAXNUM];
^
0_0_26768074_27906\Main.java:8: 错误: 需要class, interface或enum
int minnum[MAXNUM], maxnum[MAXNUM];
^
0_0_26768074_27906\Main.java:9: 错误: 非法字符: '#'
#define rep(i,s,t) for(int i=s;i<t;i++)
^
0_0_26768074_27906\Main.java:9: 错误: 需要class, interface或enum
#define rep(i,s,t) for(int i=s;i<t;i++)
^
0_0_26768074_27906\Main.java:9: 错误: 需要class, interface或enum
#define rep(i,s,t) for(int i=s;i<t;i++)
^
0_0_26768074_27906\Main.java:9: 错误: 需要class, interface或enum
#define rep(i,s,t) for(int i=s;i<t;i++)
^
0_0_26768074_27906\Main.java:11: 错误: 需要class, interface或enum
int tmin[MAXNUM],tmax[MAXNUM];
^
0_0_26768074_27906\Main.java:12: 错误: 需要class, interface或enum
bool flag;
^
0_0_26768074_27906\Main.java:13: 错误: 需要class, interface或enum
void dfs(int now, int p)
^
0_0_26768074_27906\Main.java:16: 错误: 需要class, interface或enum
int xnow = 0, xnow2 = 0;
^
0_0_26768074_27906\Main.java:17: 错误: 需要class, interface或enum
for(int k:e[now])
^
0_0_26768074_27906\Main.java:21: 错误: 需要class, interface或enum
xnow += tmin[k];
^
0_0_26768074_27906\Main.java:22: 错误: 需要class, interface或enum
xnow2 += tmax[k];
^
0_0_26768074_27906\Main.java:23: 错误: 需要class, interface或enum
}
^
0_0_26768074_27906\Main.java:26: 错误: 需要class, interface或enum
if (xnow < minnum[now])
^
0_0_26768074_27906\Main.java:29: 错误: 需要class, interface或enum
if (xnow2 - xnow < k)
^
0_0_26768074_27906\Main.java:31: 错误: 需要class, interface或enum
}
^
0_0_26768074_27906\Main.java:33: 错误: 需要class, interface或enum
tmax[now] = min(tmax[now], xnow2 + 1);
^
0_0_26768074_27906\Main.java:34: 错误: 需要class, interface或enum
}
^
0_0_26768074_27906\Main.java:40: 错误: 需要class, interface或enum
if (maxnum[i] < minnum[i])
^
0_0_26768074_27906\Main.java:42: 错误: 需要class, interface或enum
}
^
0_0_26768074_27906\Main.java:44: 错误: 需要class, interface或enum
minnum[1] = num;
^
0_0_26768074_27906\Main.java:45: 错误: 需要class, interface或enum
flag = 1;
^
0_0_26768074_27906\Main.java:46: 错误: 需要class, interface或enum
dfs(1, 1);
^
0_0_26768074_27906\Main.java:47: 错误: 需要class, interface或enum
minnum[1] = k;
^
0_0_26768074_27906\Main.java:48: 错误: 需要class, interface或enum
return flag;
^
0_0_26768074_27906\Main.java:49: 错误: 需要class, interface或enum
}
^
0_0_26768074_27906\Main.java:53: 错误: 需要class, interface或enum
scanf("%d", &t);
^
0_0_26768074_27906\Main.java:54: 错误: 需要class, interface或enum
while (t--)
^
0_0_26768074_27906\Main.java:57: 错误: 需要class, interface或enum
rep(i, 1, n + 1)
^
0_0_26768074_27906\Main.java:59: 错误: 需要class, interface或enum
rep(i, 1, n)
^
0_0_26768074_27906\Main.java:62: 错误: 需要class, interface或enum
e[a].push_back(b), e[b].push_back(a);
^
0_0_26768074_27906\Main.java:63: 错误: 需要class, interface或enum
}
^
0_0_26768074_27906\Main.java:65: 错误: 需要class, interface或enum
scanf("%d", &na);
^
0_0_26768074_27906\Main.java:66: 错误: 需要class, interface或enum
rep(i, 1, na + 1)
^
0_0_26768074_27906\Main.java:69: 错误: 需要class, interface或enum
minnum[a] = max(minnum[a], b);
^
0_0_26768074_27906\Main.java:70: 错误: 需要class, interface或enum
}
^
0_0_26768074_27906\Main.java:72: 错误: 需要class, interface或enum
rep(i, 1, nb + 1)
^
0_0_26768074_27906\Main.java:75: 错误: 需要class, interface或enum
numb[a] = max(numb[a], b);
^
0_0_26768074_27906\Main.java:76: 错误: 需要class, interface或enum
}
^
0_0_26768074_27906\Main.java:78: 错误: 需要class, interface或enum
while (l <= r)
^
0_0_26768074_27906\Main.java:81: 错误: 需要class, interface或enum
if (check(mid))
^
0_0_26768074_27906\Main.java:84: 错误: 需要class, interface或enum
r = mid - 1;
^
0_0_26768074_27906\Main.java:85: 错误: 需要class, interface或enum
}
^
0_0_26768074_27906\Main.java:87: 错误: 需要class, interface或enum
}
^
0_0_26768074_27906\Main.java:89: 错误: 需要class, interface或enum
}
^
52 个错误
|