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_22123716_32528.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
 #include <stdio.h>  
         ^
0_0_22123716_32528.cpp:2:9: error: #include expects "FILENAME" or <FILENAME>
 #include <algorithm>  
         ^
0_0_22123716_32528.cpp:3:9: error: #include expects "FILENAME" or <FILENAME>
 #include <string.h>  
         ^
0_0_22123716_32528.cpp:4:9: error: #include expects "FILENAME" or <FILENAME>
 #include <math.h>  
         ^
0_0_22123716_32528.cpp:5:9: error: #include expects "FILENAME" or <FILENAME>
 #include <iostream>  
         ^
0_0_22123716_32528.cpp:8:8: error: macro names must be identifiers
 #define N 1100  
        ^
0_0_22123716_32528.cpp:6:6: error: expected nested-name-specifier before '&' token
 using namespace std;  
      ^
0_0_22123716_32528.cpp:6:21: error: expected identifier before '&' token
 using namespace std;  
                     ^
0_0_22123716_32528.cpp:6:26: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                          ^
0_0_22123716_32528.cpp:6:27: error: 'std' does not name a type
 using namespace std;  
                           ^
0_0_22123716_32528.cpp:6:36: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                                    ^
0_0_22123716_32528.cpp:6:42: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                                          ^
0_0_22123716_32528.cpp:7:6: error: expected constructor, destructor, or type conversion before ';' token
   
      ^
0_0_22123716_32528.cpp:7:12: error: expected constructor, destructor, or type conversion before ';' token
   
            ^
0_0_22123716_32528.cpp:9:5: error: 'nbsp' declared as reference but not initialized
 int father[N];  
     ^
0_0_22123716_32528.cpp:9:10: error: 'father' does not name a type
 int father[N];  
          ^
0_0_22123716_32528.cpp:9:25: error: expected constructor, destructor, or type conversion before ';' token
 int father[N];  
                         ^
0_0_22123716_32528.cpp:9:31: error: expected constructor, destructor, or type conversion before ';' token
 int father[N];  
                               ^
0_0_22123716_32528.cpp:10:5: error: redefinition of 'int& nbsp'
 int n,m;  
     ^
0_0_22123716_32528.cpp:9:5: note: 'int& nbsp' previously declared here
 int father[N];  
     ^
0_0_22123716_32528.cpp:10:10: error: 'n' does not name a type
 int n,m;  
          ^
0_0_22123716_32528.cpp:10:19: error: expected constructor, destructor, or type conversion before ';' token
 int n,m;  
                   ^
0_0_22123716_32528.cpp:10:25: error: expected constructor, destructor, or type conversion before ';' token
 int n,m;  
                         ^
0_0_22123716_32528.cpp:11:6: error: expected constructor, destructor, or type conversion before ';' token
   
      ^
0_0_22123716_32528.cpp:11:12: error: expected constructor, destructor, or type conversion before ';' token
   
            ^
0_0_22123716_32528.cpp:12:5: error: redefinition of 'int& nbsp'
 int Find(int x)  
     ^
0_0_22123716_32528.cpp:9:5: note: 'int& nbsp' previously declared here
 int father[N];  
     ^
0_0_22123716_32528.cpp:12:23: error: expected ')' before ';' token
 int Find(int x)  
                       ^
0_0_22123716_32528.cpp:12:23: error: expected constructor, destructor, or type conversion before ';' token
0_0_22123716_32528.cpp:12:24: error: 'x' does not name a type
 int Find(int x)  
                        ^
0_0_22123716_32528.cpp:12:37: error: expected constructor, destructor, or type conversion before ';' token
 int Find(int x)  
                                     ^
0_0_22123716_32528.cpp:13:1: error: expected unqualified-id before '{' token
 {  
 ^
0_0_22123716_32528.cpp:17:7: error: expected constructor, destructor, or type conversion before ';' token
 }  
       ^
0_0_22123716_32528.cpp:17:13: error: expected constructor, destructor, or type conversion before ';' token
 }  
             ^
0_0_22123716_32528.cpp:18:6: error: expected constructor, destructor, or type conversion before ';' token
   
      ^
0_0_22123716_32528.cpp:18:12: error: expected constructor, destructor, or type conversion before ';' token
   
            ^
0_0_22123716_32528.cpp:19:6: error: cannot declare reference to 'void'
 void join(int a,int b)  
      ^
0_0_22123716_32528.cpp:19:6: error: variable or field 'nbsp' declared void
0_0_22123716_32528.cpp:19:24: error: expected ')' before ';' token
 void join(int a,int b)  
                        ^
0_0_22123716_32528.cpp:19:24: error: expected constructor, destructor, or type conversion before ';' token
0_0_22123716_32528.cpp:19:25: error: 'a' does not name a type
 void join(int a,int b)  
                         ^
0_0_22123716_32528.cpp:19:36: error: 'b' does not name a type
 void join(int a,int b)  
                                    ^
0_0_22123716_32528.cpp:19:49: error: expected constructor, destructor, or type conversion before ';' token
 void join(int a,int b)  
                                                 ^
0_0_22123716_32528.cpp:20:1: error: expected unqualified-id before '{' token
 {  
 ^


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-17 08:39:50, Gzip enabled