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_20961250_15704.cpp:7:25: error: stray '#' in program
 const int maxn = 10000 + 10;    // 点的个数
                         ^
0_0_20961250_15704.cpp:8:26: error: stray '#' in program
 const int maxm = 100000 + 10;   // 边的个数
                          ^
0_0_20961250_15704.cpp:24:17: error: stray '#' in program
     head[u] = E++;
                 ^
0_0_20961250_15704.cpp:24:22: error: stray '#' in program
     head[u] = E++;
                      ^
0_0_20961250_15704.cpp:28:29: error: stray '#' in program
     for(int i = 0;i <= n; i++) {
                             ^
0_0_20961250_15704.cpp:28:34: error: stray '#' in program
     for(int i = 0;i <= n; i++) {
                                  ^
0_0_20961250_15704.cpp:37:24: error: stray '#' in program
     dfn[u] = low[u] = ++time;
                        ^
0_0_20961250_15704.cpp:37:29: error: stray '#' in program
     dfn[u] = low[u] = ++time;
                             ^
0_0_20961250_15704.cpp:42:13: error: stray '#' in program
         st[++top] = i;
             ^
0_0_20961250_15704.cpp:42:18: error: stray '#' in program
         st[++top] = i;
                  ^
0_0_20961250_15704.cpp:48:27: error: stray '#' in program
                 subnet[u]++;
                           ^
0_0_20961250_15704.cpp:48:32: error: stray '#' in program
                 subnet[u]++;
                                ^
0_0_20961250_15704.cpp:50:22: error: stray '#' in program
                 btot++;
                      ^
0_0_20961250_15704.cpp:50:27: error: stray '#' in program
                 btot++;
                           ^
0_0_20961250_15704.cpp:70:29: error: stray '#' in program
     for(int i = 1;i <= n; i++)  d[i][0] = B[i];
                             ^
0_0_20961250_15704.cpp:70:34: error: stray '#' in program
     for(int i = 1;i <= n; i++)  d[i][0] = B[i];
                                  ^
0_0_20961250_15704.cpp:71:34: error: stray '#' in program
     for(int j = 1;(1<<j) <= n; j++)
                                  ^
0_0_20961250_15704.cpp:71:39: error: stray '#' in program
     for(int j = 1;(1<<j) <= n; j++)
                                       ^
0_0_20961250_15704.cpp:72:26: error: stray '#' in program
         for(int i = 1;i + j - 1 <= n; i++)
                          ^
0_0_20961250_15704.cpp:72:45: error: stray '#' in program
         for(int i = 1;i + j - 1 <= n; i++)
                                             ^
0_0_20961250_15704.cpp:72:50: error: stray '#' in program
         for(int i = 1;i + j - 1 <= n; i++)
                                                  ^
0_0_20961250_15704.cpp:73:43: error: stray '#' in program
             d[i][j] = min(d[i][j-1], d[i + (1<<(j-1))][j-1]);
                                           ^
0_0_20961250_15704.cpp:78:18: error: stray '#' in program
     while((1<<(k+1)) <= R-L+1)  k++;
                  ^
0_0_20961250_15704.cpp:78:33: error: stray '#' in program
     while((1<<(k+1)) <= R-L+1)  k++;
                                 ^
0_0_20961250_15704.cpp:78:43: error: stray '#' in program
     while((1<<(k+1)) <= R-L+1)  k++;
                                           ^
0_0_20961250_15704.cpp:78:48: error: stray '#' in program
     while((1<<(k+1)) <= R-L+1)  k++;
                                                ^
0_0_20961250_15704.cpp:79:36: error: stray '#' in program
     return min(d[L][k], d[R-(1<<k)+1][k] );
                                    ^
0_0_20961250_15704.cpp:90:15: error: stray '#' in program
     dfn[u] = ++time;
               ^
0_0_20961250_15704.cpp:90:20: error: stray '#' in program
     dfn[u] = ++time;
                    ^
0_0_20961250_15704.cpp:91:8: error: stray '#' in program
     B[++tot] = dfn[u];
        ^
0_0_20961250_15704.cpp:91:13: error: stray '#' in program
     B[++tot] = dfn[u];
             ^
0_0_20961250_15704.cpp:98:35: error: stray '#' in program
                 dep[to] = dep[u] + 1;
                                   ^
0_0_20961250_15704.cpp:102:16: error: stray '#' in program
             B[++tot] = dfn[u];
                ^
0_0_20961250_15704.cpp:102:21: error: stray '#' in program
             B[++tot] = dfn[u];
                     ^
0_0_20961250_15704.cpp:108:29: error: stray '#' in program
     for(int i = 0;i <= n; i++)  {
                             ^
0_0_20961250_15704.cpp:108:34: error: stray '#' in program
     for(int i = 0;i <= n; i++)  {
                                  ^
0_0_20961250_15704.cpp:112:29: error: stray '#' in program
     for(int i = 1;i <= n; i++) if(!dfn[i]) {
                             ^
0_0_20961250_15704.cpp:112:34: error: stray '#' in program
     for(int i = 1;i <= n; i++) if(!dfn[i]) {
                                  ^
0_0_20961250_15704.cpp:131:36: error: stray '#' in program
             printf("%d\n", dep[u] + dep[to] - 2*dep[LCA] - treecut[LCA]);
                                    ^
0_0_20961250_15704.cpp:139:33: error: stray '#' in program
         for(int i = 1;i <= m; i++) {
                                 ^
0_0_20961250_15704.cpp:139:38: error: stray '#' in program
         for(int i = 1;i <= m; i++) {
                                      ^
0_0_20961250_15704.cpp:147:33: error: stray '#' in program
         for(int i = 1;i <= n;i ++) if(!dfn[i]) {
                                 ^
0_0_20961250_15704.cpp:147:38: error: stray '#' in program
         for(int i = 1;i <= n;i ++) if(!dfn[i]) {
                                      ^
0_0_20961250_15704.cpp:153:36: error: stray '#' in program
         for(int i = 1;i <= btot; i++) treecut[i] = 0;
                                    ^
0_0_20961250_15704.cpp:153:41: error: stray '#' in program
         for(int i = 1;i <= btot; i++) treecut[i] = 0;
                                         ^
0_0_20961250_15704.cpp:154:33: error: stray '#' in program
         for(int i = 1;i <= btot+n; i++)  head[i] = -1;
                                 ^
0_0_20961250_15704.cpp:154:42: error: stray '#' in program
         for(int i = 1;i <= btot+n; i++)  head[i] = -1;
                                          ^
0_0_20961250_15704.cpp:154:47: error: stray '#' in program
         for(int i = 1;i <= btot+n; i++)  head[i] = -1;
                                               ^
0_0_20961250_15704.cpp:156:33: error: stray '#' in program
         for(int i = 1;i <= n; i++) if(iscut[i]) {
                                 ^
0_0_20961250_15704.cpp:156:38: error: stray '#' in program
         for(int i = 1;i <= n; i++) if(iscut[i]) {
                                      ^
0_0_20961250_15704.cpp:158:19: error: stray '#' in program
             ditot++;
                   ^
0_0_20961250_15704.cpp:158:24: error: stray '#' in program
             ditot++;
                        ^
0_0_20961250_15704.cpp:163:49: error: stray '#' in program
             for(int j = 1;j < belo[i].size(); j++) if(belo[i][j] != belo[i][j-1]) {
                                                 ^
0_0_20961250_15704.cpp:163:54: error: stray '#' in program
             for(int j = 1;j < belo[i].size(); j++) if(belo[i][j] != belo[i][j-1]) {
                                                      ^
0_0_20961250_15704.cpp:7:30: error: expected unqualified-id before numeric constant
 const int maxn = 10000 + 10;    // 点的个数
                              ^
0_0_20961250_15704.cpp:8:31: error: expected unqualified-id before numeric constant
 const int maxm = 100000 + 10;   // 边的个数
                               ^
0_0_20961250_15704.cpp: In function 'void newedge(int, int)':
0_0_20961250_15704.cpp:24:23: error: lvalue required as unary '&' operand
     head[u] = E++;
                       ^
0_0_20961250_15704.cpp: In function 'void init(int)':
0_0_20961250_15704.cpp:28:32: error: expected ')' before ';' token
     for(int i = 0;i <= n; i++) {
                                ^
0_0_20961250_15704.cpp:28:35: error: lvalue required as unary '&' operand
     for(int i = 0;i <= n; i++) {
                                   ^
0_0_20961250_15704.cpp:28:38: error: expected primary-expression before ')' token
     for(int i = 0;i <= n; i++) {
                                      ^
0_0_20961250_15704.cpp: In function 'void dfs(int)':
0_0_20961250_15704.cpp:37:25: error: lvalue required as unary '&' operand
     dfn[u] = low[u] = ++time;
                         ^
0_0_20961250_15704.cpp:37:30: error: lvalue required as unary '&' operand
     dfn[u] = low[u] = ++time;
                              ^
0_0_20961250_15704.cpp:42:14: error: lvalue required as unary '&' operand
         st[++top] = i;
              ^
0_0_20961250_15704.cpp:42:16: error: expected ']' before ';' token
         st[++top] = i;
                ^
0_0_20961250_15704.cpp:42:19: error: lvalue required as unary '&' operand
         st[++top] = i;
                   ^
0_0_20961250_15704.cpp:42:25: error: expected ';' before ']' token
         st[++top] = i;
                         ^
0_0_20961250_15704.cpp:48:33: error: 


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-23 09:18:01, Gzip enabled