F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

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


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-16 19:55:37, Gzip enabled