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_20989592_17126.cpp:8:26: error: stray '#' in program
 const int maxr=maxn*maxn+maxn;
                          ^
0_0_20989592_17126.cpp:16:24: error: stray '#' in program
     for(int i=0;i<=n;i++)
                        ^
0_0_20989592_17126.cpp:16:29: error: stray '#' in program
     for(int i=0;i<=n;i++)
                             ^
0_0_20989592_17126.cpp:17:28: error: stray '#' in program
         for(int j=0;j<=n;j++)
                            ^
0_0_20989592_17126.cpp:17:33: error: stray '#' in program
         for(int j=0;j<=n;j++)
                                 ^
0_0_20989592_17126.cpp:31:24: error: stray '#' in program
     for(int k=1;k<=n;k++)
                        ^
0_0_20989592_17126.cpp:31:29: error: stray '#' in program
     for(int k=1;k<=n;k++)
                             ^
0_0_20989592_17126.cpp:32:28: error: stray '#' in program
         for(int i=1;i<=n;i++)
                            ^
0_0_20989592_17126.cpp:32:33: error: stray '#' in program
         for(int i=1;i<=n;i++)
                                 ^
0_0_20989592_17126.cpp:33:32: error: stray '#' in program
             for(int j=1;j<=n;j++)
                                ^
0_0_20989592_17126.cpp:33:37: error: stray '#' in program
             for(int j=1;j<=n;j++)
                                     ^
0_0_20989592_17126.cpp:35:30: error: stray '#' in program
                 if(map[i][k]+map[k][j]<map[i][j])
                              ^
0_0_20989592_17126.cpp:37:41: error: stray '#' in program
                     map[i][j]=map[i][k]+map[k][j];
                                         ^
0_0_20989592_17126.cpp:57:26: error: stray '#' in program
     for(int i=0; i<=c; i++)
                          ^
0_0_20989592_17126.cpp:57:31: error: stray '#' in program
     for(int i=0; i<=c; i++)
                               ^
0_0_20989592_17126.cpp:61:20: error: stray '#' in program
         dlx[i].r=i+1;
                    ^
0_0_20989592_17126.cpp:62:15: error: stray '#' in program
         dlx[i+1].l=i;
               ^
0_0_20989592_17126.cpp:73:14: error: stray '#' in program
     int tmp=++size;
              ^
0_0_20989592_17126.cpp:73:19: error: stray '#' in program
     int tmp=++size;
                   ^
0_0_20989592_17126.cpp:74:14: error: stray '#' in program
     dlx[c].s++;
              ^
0_0_20989592_17126.cpp:74:19: error: stray '#' in program
     dlx[c].s++;
                   ^
0_0_20989592_17126.cpp:108:25: error: stray '#' in program
         dlx[dlx[i].c].s++;
                         ^
0_0_20989592_17126.cpp:108:30: error: stray '#' in program
         dlx[dlx[i].c].s++;
                              ^
0_0_20989592_17126.cpp:120:17: error: stray '#' in program
             ret++;
                 ^
0_0_20989592_17126.cpp:120:22: error: stray '#' in program
             ret++;
                      ^
0_0_20989592_17126.cpp:132:10: error: stray '#' in program
     if(k+hh()>boys)//最大的限制为男生总数
          ^
0_0_20989592_17126.cpp:137:23: error: stray '#' in program
     for(int i=0;i<k;i++)
                       ^
0_0_20989592_17126.cpp:137:28: error: stray '#' in program
     for(int i=0;i<k;i++)
                            ^
0_0_20989592_17126.cpp:139:13: error: stray '#' in program
         ssd+=child[Q[i]];
             ^
0_0_20989592_17126.cpp:148:16: error: stray '#' in program
     int minn=n+2;
                ^
0_0_20989592_17126.cpp:166:19: error: stray '#' in program
         dlx_dfs(k+1);
                   ^
0_0_20989592_17126.cpp:183:33: error: stray '#' in program
         printf("Case #%d: ",cas++);
                                 ^
0_0_20989592_17126.cpp:183:38: error: stray '#' in program
         printf("Case #%d: ",cas++);
                                      ^
0_0_20989592_17126.cpp:186:28: error: stray '#' in program
         for(int i=1;i<=n;i++)
                            ^
0_0_20989592_17126.cpp:186:33: error: stray '#' in program
         for(int i=1;i<=n;i++)
                                 ^
0_0_20989592_17126.cpp:191:22: error: stray '#' in program
                 boys++;
                      ^
0_0_20989592_17126.cpp:191:27: error: stray '#' in program
                 boys++;
                           ^
0_0_20989592_17126.cpp:196:29: error: stray '#' in program
         for(int i=0;i<n-1;i++)//正反建图
                             ^
0_0_20989592_17126.cpp:196:34: error: stray '#' in program
         for(int i=0;i<n-1;i++)//正反建图
                                  ^
0_0_20989592_17126.cpp:204:28: error: stray '#' in program
         for(int i=1;i<=n;i++)
                            ^
0_0_20989592_17126.cpp:204:33: error: stray '#' in program
         for(int i=1;i<=n;i++)
                                 ^
0_0_20989592_17126.cpp:205:32: error: stray '#' in program
             for(int j=1;j<=n;j++)
                                ^
0_0_20989592_17126.cpp:205:37: error: stray '#' in program
             for(int j=1;j<=n;j++)
                                     ^
0_0_20989592_17126.cpp:8:30: error: 'maxn' does not name a type
 const int maxr=maxn*maxn+maxn;
                              ^
0_0_20989592_17126.cpp: In function 'void init_m()':
0_0_20989592_17126.cpp:16:27: error: expected ')' before ';' token
     for(int i=0;i<=n;i++)
                           ^
0_0_20989592_17126.cpp:16:30: error: lvalue required as unary '&' operand
     for(int i=0;i<=n;i++)
                              ^
0_0_20989592_17126.cpp:16:33: error: expected primary-expression before ')' token
     for(int i=0;i<=n;i++)
                                 ^
0_0_20989592_17126.cpp:17:21: error: 'j' was not declared in this scope
         for(int j=0;j<=n;j++)
                     ^
0_0_20989592_17126.cpp:17:34: error: lvalue required as unary '&' operand
         for(int j=0;j<=n;j++)
                                  ^
0_0_20989592_17126.cpp:17:37: error: expected primary-expression before ')' token
         for(int j=0;j<=n;j++)
                                     ^
0_0_20989592_17126.cpp: In function 'void floyd()':
0_0_20989592_17126.cpp:31:27: error: expected ')' before ';' token
     for(int k=1;k<=n;k++)
                           ^
0_0_20989592_17126.cpp:31:30: error: lvalue required as unary '&' operand
     for(int k=1;k<=n;k++)
                              ^
0_0_20989592_17126.cpp:31:33: error: expected primary-expression before ')' token
     for(int k=1;k<=n;k++)
                                 ^
0_0_20989592_17126.cpp:32:21: error: 'i' was not declared in this scope
         for(int i=1;i<=n;i++)
                     ^
0_0_20989592_17126.cpp:32:34: error: lvalue required as unary '&' operand
         for(int i=1;i<=n;i++)
                                  ^
0_0_20989592_17126.cpp:32:37: error: expected primary-expression before ')' token
         for(int i=1;i<=n;i++)
                                     ^
0_0_20989592_17126.cpp:33:25: error: 'j' was not declared in this scope
             for(int j=1;j<=n;j++)
                         ^
0_0_20989592_17126.cpp:33:38: error: lvalue required as unary '&' operand
             for(int j=1;j<=n;j++)
                                      ^
0_0_20989592_17126.cpp:33:41: error: expected primary-expression before ')' token
             for(int j=1;j<=n;j++)
                                         ^
0_0_20989592_17126.cpp: In function 'void init(int, int)':
0_0_20989592_17126.cpp:57:29: error: expected ')' before ';' token
     for(int i=0; i<=c; i++)
                             ^
0_0_20989592_17126.cpp:57:32: error: lvalue required as unary '&' operand
     for(int i=0; i<=c; i++)
                                ^
0_0_20989592_17126.cpp:57:35: error: expected primary-expression before ')' token
     for(int i=0; i<=c; i++)
                                   ^
0_0_20989592_17126.cpp: In function 'void link(int, int)':
0_0_20989592_17126.cpp:73:15: error: lvalue required as unary '&' operand
     int tmp=++size;
               ^
0_0_20989592_17126.cpp:73:20: error: lvalue required as unary '&' operand
     int tmp=++size;
                    ^
0_0_20989592_17126.cpp:74:20: error: lvalue required as unary '&' operand
     dlx[c].s++;
                    ^
0_0_20989592_17126.cpp: In function 'void resume(int)':
0_0_20989592_17126.cpp:108:31: error: lvalue required as unary '&' operand
         dlx[dlx[i].c].s++;
                               ^
0_0_20989592_17126.cpp: In function 'int hh()':
0_0_20989592_17126.cpp:114:12: error: reference to 'hash' is ambiguous
     memset(hash,0,sizeof(hash));
            ^
0_0_20989592_17126.cpp:52:5: note: candidates are: int hash [60]
 int hash[maxn];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:3068:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:52,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/locale_classes.h:40,
  


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-26 13:03:55, Gzip enabled