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_20968693_29845.cpp:23:27: error: stray '#' in program
     V[k][u].head = top[k]++;
                           ^
0_0_20968693_29845.cpp:23:32: error: stray '#' in program
     V[k][u].head = top[k]++;
                                ^
0_0_20968693_29845.cpp:24:6: error: stray '#' in program
     ++V[k][v].rd;
      ^
0_0_20968693_29845.cpp:24:11: error: stray '#' in program
     ++V[k][v].rd;
           ^
0_0_20968693_29845.cpp:30:24: error: stray '#' in program
     for(int i=1;i<=n;i++)
                        ^
0_0_20968693_29845.cpp:30:29: error: stray '#' in program
     for(int i=1;i<=n;i++)
                             ^
0_0_20968693_29845.cpp:36:10: error: stray '#' in program
         ++cnt;
          ^
0_0_20968693_29845.cpp:36:15: error: stray '#' in program
         ++cnt;
               ^
0_0_20968693_29845.cpp:45:44: error: stray '#' in program
                 V[k][q].dep = V[k][p].dep + 1;
                                            ^
0_0_20968693_29845.cpp:61:27: error: stray '#' in program
         for(int k=0;k<3;k++)
                           ^
0_0_20968693_29845.cpp:61:32: error: stray '#' in program
         for(int k=0;k<3;k++)
                                ^
0_0_20968693_29845.cpp:62:33: error: stray '#' in program
             for(int i=1;i<=nn;i++)
                                 ^
0_0_20968693_29845.cpp:62:38: error: stray '#' in program
             for(int i=1;i<=nn;i++)
                                      ^
0_0_20968693_29845.cpp:63:32: error: stray '#' in program
                 Add_Edge(k,i,i+nn);
                                ^
0_0_20968693_29845.cpp:69:35: error: stray '#' in program
                 for(int k=0;k<3;k++)
                                   ^
0_0_20968693_29845.cpp:69:40: error: stray '#' in program
                 for(int k=0;k<3;k++)
                                        ^
0_0_20968693_29845.cpp:71:36: error: stray '#' in program
                     Add_Edge(k,u,v+nn);
                                    ^
0_0_20968693_29845.cpp:72:36: error: stray '#' in program
                     Add_Edge(k,v,u+nn);
                                    ^
0_0_20968693_29845.cpp:76:36: error: stray '#' in program
                 Add_Edge(cmd-'X',u+nn,v);
                                    ^
0_0_20968693_29845.cpp:78:29: error: stray '#' in program
         printf("Case %d: ",++ncase);
                             ^
0_0_20968693_29845.cpp:78:34: error: stray '#' in program
         printf("Case %d: ",++ncase);
                                  ^
0_0_20968693_29845.cpp:84:33: error: stray '#' in program
             for(int i=1;i<=nn;i++)
                                 ^
0_0_20968693_29845.cpp:84:38: error: stray '#' in program
             for(int i=1;i<=nn;i++)
                                      ^
0_0_20968693_29845.cpp:85:89: error: stray '#' in program
                 printf("%d %d %d %d %d %d\n",V[0][i].dep,V[1][i].dep,V[2][i].dep,V[0][i+nn].dep,V[1][i+nn].dep,V[2][i+nn].dep);
                                                                                         ^
0_0_20968693_29845.cpp:85:108: error: stray '#' in program
                 printf("%d %d %d %d %d %d\n",V[0][i].dep,V[1][i].dep,V[2][i].dep,V[0][i+nn].dep,V[1][i+nn].dep,V[2][i+nn].dep);
                                                                                                            ^
0_0_20968693_29845.cpp:85:127: error: stray '#' in program
                 printf("%d %d %d %d %d %d\n",V[0][i].dep,V[1][i].dep,V[2][i].dep,V[0][i+nn].dep,V[1][i+nn].dep,V[2][i+nn].dep);
                                                                                                                               ^
0_0_20968693_29845.cpp: In function 'void Add_Edge(int, int, int)':
0_0_20968693_29845.cpp:23:33: error: lvalue required as unary '&' operand
     V[k][u].head = top[k]++;
                                 ^
0_0_20968693_29845.cpp:24:7: error: lvalue required as unary '&' operand
     ++V[k][v].rd;
       ^
0_0_20968693_29845.cpp:24:12: error: lvalue required as unary '&' operand
     ++V[k][v].rd;
            ^
0_0_20968693_29845.cpp: In function 'bool Top_Sort(int)':
0_0_20968693_29845.cpp:30:27: error: expected ')' before ';' token
     for(int i=1;i<=n;i++)
                           ^
0_0_20968693_29845.cpp:30:30: error: lvalue required as unary '&' operand
     for(int i=1;i<=n;i++)
                              ^
0_0_20968693_29845.cpp:30:33: error: expected primary-expression before ')' token
     for(int i=1;i<=n;i++)
                                 ^
0_0_20968693_29845.cpp:36:11: error: lvalue required as unary '&' operand
         ++cnt;
           ^
0_0_20968693_29845.cpp:36:16: error: lvalue required as unary '&' operand
         ++cnt;
                ^
0_0_20968693_29845.cpp: In function 'int main()':
0_0_20968693_29845.cpp:61:30: error: expected ')' before ';' token
         for(int k=0;k<3;k++)
                              ^
0_0_20968693_29845.cpp:61:33: error: lvalue required as unary '&' operand
         for(int k=0;k<3;k++)
                                 ^
0_0_20968693_29845.cpp:61:36: error: expected primary-expression before ')' token
         for(int k=0;k<3;k++)
                                    ^
0_0_20968693_29845.cpp:62:25: error: 'i' was not declared in this scope
             for(int i=1;i<=nn;i++)
                         ^
0_0_20968693_29845.cpp:62:39: error: lvalue required as unary '&' operand
             for(int i=1;i<=nn;i++)
                                       ^
0_0_20968693_29845.cpp:62:42: error: expected primary-expression before ')' token
             for(int i=1;i<=nn;i++)
                                          ^
0_0_20968693_29845.cpp:63:38: error: expected ';' before ')' token
                 Add_Edge(k,i,i+nn);
                                      ^
0_0_20968693_29845.cpp:69:38: error: expected ')' before ';' token
                 for(int k=0;k<3;k++)
                                      ^
0_0_20968693_29845.cpp:69:41: error: lvalue required as unary '&' operand
                 for(int k=0;k<3;k++)
                                         ^
0_0_20968693_29845.cpp:69:44: error: expected primary-expression before ')' token
                 for(int k=0;k<3;k++)
                                            ^
0_0_20968693_29845.cpp:76:39: error: expected ')' before ';' token
                 Add_Edge(cmd-'X',u+nn,v);
                                       ^
0_0_20968693_29845.cpp:76:44: error: expected ';' before ')' token
                 Add_Edge(cmd-'X',u+nn,v);
                                            ^
0_0_20968693_29845.cpp:78:30: error: lvalue required as unary '&' operand
         printf("Case %d: ",++ncase);
                              ^
0_0_20968693_29845.cpp:78:35: error: lvalue required as unary '&' operand
         printf("Case %d: ",++ncase);
                                   ^
0_0_20968693_29845.cpp:78:43: error: expected ';' before ')' token
         printf("Case %d: ",++ncase);
                                           ^
0_0_20968693_29845.cpp:84:36: error: expected ')' before ';' token
             for(int i=1;i<=nn;i++)
                                    ^
0_0_20968693_29845.cpp:84:39: error: lvalue required as unary '&' operand
             for(int i=1;i<=nn;i++)
                                       ^
0_0_20968693_29845.cpp:84:42: error: expected primary-expression before ')' token
             for(int i=1;i<=nn;i++)
                                          ^
0_0_20968693_29845.cpp:85:95: error: expected ';' before ']' token
                 printf("%d %d %d %d %d %d\n",V[0][i].dep,V[1][i].dep,V[2][i].dep,V[0][i+nn].dep,V[1][i+nn].dep,V[2][i+nn].dep);
                                                                                               ^
0_0_20968693_29845.cpp:85:114: error: expected ';' before ']' token
                 printf("%d %d %d %d %d %d\n",V[0][i].dep,V[1][i].dep,V[2][i].dep,V[0][i+nn].dep,V[1][i+nn].dep,V[2][i+nn].dep);
                                                                                                                  ^
0_0_20968693_29845.cpp:85:133: error: expected ';' before ']' token
                 printf("%d %d %d %d %d %d\n",V[0][i].dep,V[1][i].dep,V[2][i].dep,V[0][i+nn].dep,V[1][i+nn].dep,V[2][i+nn].dep);
                                                                                                                                     ^


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-22 21:09:12, Gzip enabled