0_0_32290049_20550.cpp:13:1: error: stray '\302' in program
int u, v, c;
^
0_0_32290049_20550.cpp:13:1: error: stray '\240' in program
0_0_32290049_20550.cpp:13:1: error: stray '\302' in program
0_0_32290049_20550.cpp:13:1: error: stray '\240' in program
0_0_32290049_20550.cpp:20:1: error: stray '\302' in program
edge[edgeNumber].u = u;
^
0_0_32290049_20550.cpp:20:1: error: stray '\240' in program
0_0_32290049_20550.cpp:20:1: error: stray '\302' in program
0_0_32290049_20550.cpp:20:1: error: stray '\240' in program
0_0_32290049_20550.cpp:21:1: error: stray '\302' in program
edge[edgeNumber].v = v;
^
0_0_32290049_20550.cpp:21:1: error: stray '\240' in program
0_0_32290049_20550.cpp:21:1: error: stray '\302' in program
0_0_32290049_20550.cpp:21:1: error: stray '\240' in program
0_0_32290049_20550.cpp:22:1: error: stray '\302' in program
edge[edgeNumber].c = c;
^
0_0_32290049_20550.cpp:22:1: error: stray '\240' in program
0_0_32290049_20550.cpp:22:1: error: stray '\302' in program
0_0_32290049_20550.cpp:22:1: error: stray '\240' in program
0_0_32290049_20550.cpp:23:1: error: stray '\302' in program
++ edgeNumber;
^
0_0_32290049_20550.cpp:23:1: error: stray '\240' in program
0_0_32290049_20550.cpp:23:1: error: stray '\302' in program
0_0_32290049_20550.cpp:23:1: error: stray '\240' in program
0_0_32290049_20550.cpp:29:1: error: stray '\302' in program
return a.u < b.u;
^
0_0_32290049_20550.cpp:29:1: error: stray '\240' in program
0_0_32290049_20550.cpp:29:1: error: stray '\302' in program
0_0_32290049_20550.cpp:29:1: error: stray '\240' in program
0_0_32290049_20550.cpp:35:1: error: stray '\302' in program
return a.c < b.c;
^
0_0_32290049_20550.cpp:35:1: error: stray '\240' in program
0_0_32290049_20550.cpp:35:1: error: stray '\302' in program
0_0_32290049_20550.cpp:35:1: error: stray '\240' in program
0_0_32290049_20550.cpp:40:1: error: stray '\302' in program
__int64 lastValue = 0, lastNumber = 0;
^
0_0_32290049_20550.cpp:40:1: error: stray '\240' in program
0_0_32290049_20550.cpp:40:1: error: stray '\302' in program
0_0_32290049_20550.cpp:40:1: error: stray '\240' in program
0_0_32290049_20550.cpp:41:1: error: stray '\302' in program
__int64 currentValue = 0, currentNumber = 0;
^
0_0_32290049_20550.cpp:41:1: error: stray '\240' in program
0_0_32290049_20550.cpp:41:1: error: stray '\302' in program
0_0_32290049_20550.cpp:41:1: error: stray '\240' in program
0_0_32290049_20550.cpp:42:1: error: stray '\302' in program
int lastColor = - 1;
^
0_0_32290049_20550.cpp:42:1: error: stray '\240' in program
0_0_32290049_20550.cpp:42:1: error: stray '\302' in program
0_0_32290049_20550.cpp:42:1: error: stray '\240' in program
0_0_32290049_20550.cpp:43:1: error: stray '\302' in program
value[x] = nodeValue[x];
^
0_0_32290049_20550.cpp:43:1: error: stray '\240' in program
0_0_32290049_20550.cpp:43:1: error: stray '\302' in program
0_0_32290049_20550.cpp:43:1: error: stray '\240' in program
0_0_32290049_20550.cpp:44:1: error: stray '\302' in program
number[x] = 1;
^
0_0_32290049_20550.cpp:44:1: error: stray '\240' in program
0_0_32290049_20550.cpp:44:1: error: stray '\302' in program
0_0_32290049_20550.cpp:44:1: error: stray '\240' in program
0_0_32290049_20550.cpp:47:1: error: stray '\302' in program
for(int i = head[x]; i != -1 && edge[i].u ==x ; i ++){
^
0_0_32290049_20550.cpp:47:1: error: stray '\240' in program
0_0_32290049_20550.cpp:47:1: error: stray '\302' in program
0_0_32290049_20550.cpp:47:1: error: stray '\240' in program
0_0_32290049_20550.cpp:48:1: error: stray '\302' in program
if(edge[i].v == father) continue;
^
0_0_32290049_20550.cpp:48:1: error: stray '\240' in program
0_0_32290049_20550.cpp:48:1: error: stray '\302' in program
0_0_32290049_20550.cpp:48:1: error: stray '\240' in program
0_0_32290049_20550.cpp:48:1: error: stray '\302' in program
0_0_32290049_20550.cpp:48:1: error: stray '\240' in program
0_0_32290049_20550.cpp:48:1: error: stray '\302' in program
0_0_32290049_20550.cpp:48:1: error: stray '\240' in program
0_0_32290049_20550.cpp:49:1: error: stray '\302' in program
dfs(edge[i].v , x, edge[i].c);
^
0_0_32290049_20550.cpp:49:1: error: stray '\240' in program
0_0_32290049_20550.cpp:49:1: error: stray '\302' in program
0_0_32290049_20550.cpp:49:1: error: stray '\240' in program
0_0_32290049_20550.cpp:49:1: error: stray '\302' in program
0_0_32290049_20550.cpp:49:1: error: stray '\240' in program
0_0_32290049_20550.cpp:49:1: error: stray '\302' in program
0_0_32290049_20550.cpp:49:1: error: stray '\240' in program
0_0_32290049_20550.cpp:50:1: error: stray '\302' in program
if(edge[i].c != lastColor){//在子节点到当前节点的所有边中,如果换了一种新的颜色
^
0_0_32290049_20550.cpp:50:1: error: stray '\240' in program
0_0_32290049_20550.cpp:50:1: error: stray '\302' in program
0_0_32290049_20550.cpp:50:1: error: stray '\240' in program
0_0_32290049_20550.cpp:50:1: error: stray '\302' in program
0_0_32290049_20550.cpp:50:1: error: stray '\240' in program
0_0_32290049_20550.cpp:50:1: error: stray '\302' in program
0_0_32290049_20550.cpp:50:1: error: stray '\240' in program
0_0_32290049_20550.cpp:51:1: error: stray '\302' in program
lastNumber = currentNumber;
^
0_0_32290049_20550.cpp:51:1: error: stray '\240' in program
0_0_32290049_20550.cpp:51:1: error: stray '\302' in program
0_0_32290049_20550.cpp:51:1: error: stray '\240' in program
0_0_32290049_20550.cpp:51:1: error: stray '\302' in program
0_0_32290049_20550.cpp:51:1: error: stray '\240' in program
0_0_32290049_20550.cpp:51:1: error: stray '\302' in program
0_0_32290049_20550.cpp:51:1: error: stray '\240' in program
0_0_32290049_20550.cpp:51:1: error: stray '\302' in program
0_0_32290049_20550.cpp:51:1: error: stray '\240' in program
0_0_32290049_20550.cpp:51:1: error: stray '\302' in program
0_0_32290049_20550.cpp:51:1: error: stray '\240' in program
0_0_32290049_20550.cpp:52:1: error: stray '\302' in program
lastValue = currentValue;
^
0_0_32290049_20550.cpp:52:1: error: stray '\240' in program
0_0_32290049_20550.cpp:52:1: error: stray '\302' in program
0_0_32290049_20550.cpp:52:1: error: stray '\240' in program
0_0_32290049_20550.cpp:52:1: error: stray '\302' in program
0_0_32290049_20550.cpp:52:1: error: stray '\240' in program
0_0_32290049_20550.cpp:52:1: error: stray '\302' in program
0_0_32290049_20550.cpp:52:1: error: stray '\240' in program
0_0_32290049_20550.cpp:52:1: error: stray '\302' in program
0_0_32290049_20550.cpp:52:1: error: stray '\240' in program
0_0_32290049_20550.cpp:52:1: error: stray '\302' in program
0_0_32290049_20550.cpp:52:1: error: stray '\240' in program
0_0_32290049_20550.cpp:53:1: error: stray '\302' in program
lastColor = edge[i].c;
^
0_0_32290049_20550.cpp:53:1: error: stray '\240' in program
0_0_32290049_20550.cpp:53:1: error: stray '\302' in program
0_0_32290049_20550.cpp:53:1: error: stray '\240' in program
0_0_32290049_20550.cpp:53:1: error: stray '\302' in program
0_0_32290049_20550.cpp:53:1: error: stray '\240' in program
0_0_32290049_20550.cpp:53:1: error: stray '\302' in program
0_0_32290049_20550.cpp:53:1: error: stray '\240' in program
0_0_32290049_20550.cpp:53:1: error: stray '\302' in program
0_0_32290049_20550.cpp:53:1: error: stray '\240' in program
0_0_32290049_20550.cpp:53:1: error: stray '\302' in program
0_0_32290049_20550.cpp:53:1: error: stray '\240' in program
0_0_32290049_20550.cpp:54:1: error: stray '\302' in program
}
^
0_0_32290049_20550.cpp:54:1: error: stray '\240' in program
0_0_32290049_20550.cpp:54:1: error: stray '\302' in program
0_0_32290049_20550.cpp:54:1: error: stray '\240' in program
0_0_32290049_20550.cpp:54:1: error: stray '\302' in program
0_0_32290049_20550.cpp:54:1: error: stray '\240' in program
0_0_32290049_20550.cpp:54:1: error: stray '\302' in program
0_0_32290049_20550.cpp:54:1: error: stray '\240' in program
0_0_32290049_20550.cpp:55:1: error: stray '\302' in program
//如何保证x一定在路径上? 这就是之前排序的便利了。怪不得之前都初始化为0
^
0_0_32290049_20550.cpp:55:1: error: stray '\240' in program
0_0_32290049_20550.cpp:55:1: error: stray '\302' in program
0_0_32290049_20550.cpp:55:1: error: stray '\240' in program
0_0_32290049_20550.cpp:55:1: error: stray '\302' in program
0_0_32290049_20550.cpp:55:1: error: stray '\240' in program
0_0_32290049_20550.cpp:55:1: error: stray '\302' in program
0_0_32290049_20550.cpp:55:1: error: stray '\240' in program
0_0_32290049_20550.cpp:56:1: error: stray '\302' in program
ans += lastNumber * value[edge[i].v];//当前节点x在路径上
^
0_0_32290049_20550.cpp:56:1: error: stray '\240' in program
0_0_32290049_20550.cpp:56:1: error: stray '\302' in program
0_0_32290049_20550.cpp:56:1: error: stray '\240' in program
0_0_32290049_20550.cpp:56:1: erro
|