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_23387890_12710.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
 #include <stdio.h>  
         ^
0_0_23387890_12710.cpp:2:9: error: #include expects "FILENAME" or <FILENAME>
 #include <string.h>  
         ^
0_0_23387890_12710.cpp:3:6: error: expected constructor, destructor, or type conversion before ';' token
   
      ^
0_0_23387890_12710.cpp:3:12: error: expected constructor, destructor, or type conversion before ';' token
   
            ^
0_0_23387890_12710.cpp:4:5: error: 'nbsp' declared as reference but not initialized
 int degree[1001];  
     ^
0_0_23387890_12710.cpp:4:10: error: 'degree' does not name a type
 int degree[1001];  
          ^
0_0_23387890_12710.cpp:4:28: error: expected constructor, destructor, or type conversion before ';' token
 int degree[1001];  
                            ^
0_0_23387890_12710.cpp:4:34: error: expected constructor, destructor, or type conversion before ';' token
 int degree[1001];  
                                  ^
0_0_23387890_12710.cpp:5:5: error: redefinition of 'int& nbsp'
 int father[1001];  
     ^
0_0_23387890_12710.cpp:4:5: note: 'int& nbsp' previously declared here
 int degree[1001];  
     ^
0_0_23387890_12710.cpp:5:10: error: 'father' does not name a type
 int father[1001];  
          ^
0_0_23387890_12710.cpp:5:28: error: expected constructor, destructor, or type conversion before ';' token
 int father[1001];  
                            ^
0_0_23387890_12710.cpp:5:34: error: expected constructor, destructor, or type conversion before ';' token
 int father[1001];  
                                  ^
0_0_23387890_12710.cpp:6:5: error: redefinition of 'int& nbsp'
 int map[1001][1001];  
     ^
0_0_23387890_12710.cpp:4:5: note: 'int& nbsp' previously declared here
 int degree[1001];  
     ^
0_0_23387890_12710.cpp:6:10: error: 'map' does not name a type
 int map[1001][1001];  
          ^
0_0_23387890_12710.cpp:6:31: error: expected constructor, destructor, or type conversion before ';' token
 int map[1001][1001];  
                               ^
0_0_23387890_12710.cpp:6:37: error: expected constructor, destructor, or type conversion before ';' token
 int map[1001][1001];  
                                     ^
0_0_23387890_12710.cpp:7:5: error: redefinition of 'int& nbsp'
 int n;  
     ^
0_0_23387890_12710.cpp:4:5: note: 'int& nbsp' previously declared here
 int degree[1001];  
     ^
0_0_23387890_12710.cpp:7:10: error: 'n' does not name a type
 int n;  
          ^
0_0_23387890_12710.cpp:7:17: error: expected constructor, destructor, or type conversion before ';' token
 int n;  
                 ^
0_0_23387890_12710.cpp:7:23: error: expected constructor, destructor, or type conversion before ';' token
 int n;  
                       ^
0_0_23387890_12710.cpp:8:6: error: expected constructor, destructor, or type conversion before ';' token
   
      ^
0_0_23387890_12710.cpp:8:12: error: expected constructor, destructor, or type conversion before ';' token
   
            ^
0_0_23387890_12710.cpp:9:6: error: cannot declare reference to 'void'
 void init()  
      ^
0_0_23387890_12710.cpp:9:6: error: variable or field 'nbsp' declared void
0_0_23387890_12710.cpp:9:18: error: expected constructor, destructor, or type conversion before 'nbsp'
 void init()  
                  ^
0_0_23387890_12710.cpp:9:28: error: expected constructor, destructor, or type conversion before ';' token
 void init()  
                            ^
0_0_23387890_12710.cpp:10: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-09-28 18:19:41, Gzip enabled