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_28673872_5842.cpp:12:10: error: stray '#' in program
          father[i]=i;
          ^
0_0_28673872_5842.cpp:18:10: error: stray '#' in program
           x=father[x];
          ^
0_0_28673872_5842.cpp:18:16: error: stray '#' in program
           x=father[x];
                ^
0_0_28673872_5842.cpp:19:6: error: stray '#' in program
      return x;
      ^
0_0_28673872_5842.cpp:25:6: error: stray '#' in program
         temp_a=Find(a);
      ^
0_0_28673872_5842.cpp:25:12: error: stray '#' in program
         temp_a=Find(a);
            ^
0_0_28673872_5842.cpp:25:18: error: stray '#' in program
         temp_a=Find(a);
                  ^
0_0_28673872_5842.cpp:25:24: error: stray '#' in program
         temp_a=Find(a);
                        ^
0_0_28673872_5842.cpp:26:6: error: stray '#' in program
         temp_b=Find(b);
      ^
0_0_28673872_5842.cpp:26:12: error: stray '#' in program
         temp_b=Find(b);
            ^
0_0_28673872_5842.cpp:26:18: error: stray '#' in program
         temp_b=Find(b);
                  ^
0_0_28673872_5842.cpp:26:24: error: stray '#' in program
         temp_b=Find(b);
                        ^
0_0_28673872_5842.cpp:27:6: error: stray '#' in program
         if(temp_a!=temp_b)
      ^
0_0_28673872_5842.cpp:27:12: error: stray '#' in program
         if(temp_a!=temp_b)
            ^
0_0_28673872_5842.cpp:27:18: error: stray '#' in program
         if(temp_a!=temp_b)
                  ^
0_0_28673872_5842.cpp:27:24: error: stray '#' in program
         if(temp_a!=temp_b)
                        ^
0_0_28673872_5842.cpp:28:10: error: stray '#' in program
                 father[temp_a]=temp_b;
          ^
0_0_28673872_5842.cpp:28:16: error: stray '#' in program
                 father[temp_a]=temp_b;
                ^
0_0_28673872_5842.cpp:28:22: error: stray '#' in program
                 father[temp_a]=temp_b;
                      ^
0_0_28673872_5842.cpp:28:28: error: stray '#' in program
                 father[temp_a]=temp_b;
                            ^
0_0_28673872_5842.cpp:28:34: error: stray '#' in program
                 father[temp_a]=temp_b;
                                  ^
0_0_28673872_5842.cpp:28:40: error: stray '#' in program
                 father[temp_a]=temp_b;
                                        ^
0_0_28673872_5842.cpp:28:46: error: stray '#' in program
                 father[temp_a]=temp_b;
                                              ^
0_0_28673872_5842.cpp:28:52: error: stray '#' in program
                 father[temp_a]=temp_b;
                                                    ^
0_0_28673872_5842.cpp:43:6: error: stray '#' in program
      while(scanf("%d",&n)!=EOF)
      ^
0_0_28673872_5842.cpp:47:10: error: stray '#' in program
               Init(n);
          ^
0_0_28673872_5842.cpp:47:16: error: stray '#' in program
               Init(n);
                ^
0_0_28673872_5842.cpp:47:22: error: stray '#' in program
               Init(n);
                      ^
0_0_28673872_5842.cpp:47:28: error: stray '#' in program
               Init(n);
                            ^
0_0_28673872_5842.cpp:47:34: error: stray '#' in program
               Init(n);
                                  ^
0_0_28673872_5842.cpp:47:40: error: stray '#' in program
               Init(n);
                                        ^
0_0_28673872_5842.cpp:48:10: error: stray '#' in program
                cin>>m;
          ^
0_0_28673872_5842.cpp:48:16: error: stray '#' in program
                cin>>m;
                ^
0_0_28673872_5842.cpp:48:22: error: stray '#' in program
                cin>>m;
                      ^
0_0_28673872_5842.cpp:48:28: error: stray '#' in program
                cin>>m;
                            ^
0_0_28673872_5842.cpp:48:34: error: stray '#' in program
                cin>>m;
                                  ^
0_0_28673872_5842.cpp:48:40: error: stray '#' in program
                cin>>m;
                                        ^
0_0_28673872_5842.cpp:48:46: error: stray '#' in program
                cin>>m;
                                              ^
0_0_28673872_5842.cpp:49:10: error: stray '#' in program
              for(i=0; i<m; ++i)
          ^
0_0_28673872_5842.cpp:49:16: error: stray '#' in program
              for(i=0; i<m; ++i)
                ^
0_0_28673872_5842.cpp:49:22: error: stray '#' in program
              for(i=0; i<m; ++i)
                      ^
0_0_28673872_5842.cpp:49:28: error: stray '#' in program
              for(i=0; i<m; ++i)
                            ^
0_0_28673872_5842.cpp:49:34: error: stray '#' in program
              for(i=0; i<m; ++i)
                                  ^
0_0_28673872_5842.cpp:50:14: error: stray '#' in program
                    
              ^
0_0_28673872_5842.cpp:50:20: error: stray '#' in program
                    
                    ^
0_0_28673872_5842.cpp:50:26: error: stray '#' in program
                    
                          ^
0_0_28673872_5842.cpp:50:32: error: stray '#' in program
                    
                                ^
0_0_28673872_5842.cpp:50:38: error: stray '#' in program
                    
                                      ^
0_0_28673872_5842.cpp:50:44: error: stray '#' in program
                    
                                            ^
0_0_28673872_5842.cpp:50:50: error: stray '#' in program
                    
                                                  ^
0_0_28673872_5842.cpp:52:14: error: stray '#' in program
                 cin>>a>>b;
              ^
0_0_28673872_5842.cpp:52:20: error: stray '#' in program
                 cin>>a>>b;
                    ^
0_0_28673872_5842.cpp:52:26: error: stray '#' in program
                 cin>>a>>b;
                          ^
0_0_28673872_5842.cpp:52:32: error: stray '#' in program
                 cin>>a>>b;
                                ^
0_0_28673872_5842.cpp:53:14: error: stray '#' in program
                 combine(a,b);
              ^
0_0_28673872_5842.cpp:53:20: error: stray '#' in program
                 combine(a,b);
                    ^
0_0_28673872_5842.cpp:53:26: error: stray '#' in program
                 combine(a,b);
                          ^
0_0_28673872_5842.cpp:53:32: error: stray '#' in program
                 combine(a,b);
                                ^
0_0_28673872_5842.cpp:57:6: error: stray '#' in program
         return 0;
      ^
0_0_28673872_5842.cpp:57:12: error: stray '#' in program
         return 0;
            ^
0_0_28673872_5842.cpp:57:18: error: stray '#' in program
         return 0;
                  ^
0_0_28673872_5842.cpp:57:24: error: stray '#' in program
         return 0;
                        ^
0_0_28673872_5842.cpp: In function 'void Init(int)':
0_0_28673872_5842.cpp:12:11: error: lvalue required as unary '&' operand
          father[i]=i;
           ^
0_0_28673872_5842.cpp: In function 'int Find(int)':
0_0_28673872_5842.cpp:18:11: error: lvalue required as unary '&' operand
           x=father[x];
           ^
0_0_28673872_5842.cpp:18:17: error: lvalue required as unary '&' operand
           x=father[x];
                 ^
0_0_28673872_5842.cpp:19:7: error: lvalue required as unary '&' operand
      return x;
       ^
0_0_28673872_5842.cpp: In function 'void combine(int, int)':
0_0_28673872_5842.cpp:25:7: error: lvalue required as unary '&' operand
         temp_a=Find(a);
       ^
0_0_28673872_5842.cpp:25:13: error: lvalue required as unary '&' operand
         temp_a=Find(a);
             ^
0_0_28673872_5842.cpp:25:19: error: lvalue required as unary '&' operand
         temp_a=Find(a);
                   ^
0_0_28673872_5842.cpp:25:25: error: lvalue require


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 14:23:07, Gzip enabled