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_21021591_3041.cpp:4:8: error: macro names must be identifiers
 #define Mod 1000000007  
        ^
0_0_21021591_3041.cpp:5:8: error: macro names must be identifiers
 #define N 50005  
        ^
0_0_21021591_3041.cpp:6:5: error: 'nbsp' declared as reference but not initialized
 int num[N];  
     ^
0_0_21021591_3041.cpp:6:10: error: 'num' does not name a type
 int num[N];  
          ^
0_0_21021591_3041.cpp:6:22: error: expected constructor, destructor, or type conversion before ';' token
 int num[N];  
                      ^
0_0_21021591_3041.cpp:6:28: error: expected constructor, destructor, or type conversion before ';' token
 int num[N];  
                            ^
0_0_21021591_3041.cpp:7:7: error: expected identifier before '&' token
 struct cam  
       ^
0_0_21021591_3041.cpp:7:12: error: invalid type in declaration before ';' token
 struct cam  
            ^
0_0_21021591_3041.cpp:7:12: error: redefinition of 'int& nbsp'
0_0_21021591_3041.cpp:6:5: note: 'int& nbsp' previously declared here
 int num[N];  
     ^
0_0_21021591_3041.cpp:7:13: error: 'cam' does not name a type
 struct cam  
             ^
0_0_21021591_3041.cpp:7:27: error: expected constructor, destructor, or type conversion before ';' token
 struct cam  
                           ^
0_0_21021591_3041.cpp:8:1: error: expected unqualified-id before '{' token
 {  
 ^
0_0_21021591_3041.cpp:12:2: error: 'list' does not name a type
 }list[N*4];  
  ^
0_0_21021591_3041.cpp:12:17: error: expected constructor, destructor, or type conversion before ';' token
 }list[N*4];  
                 ^
0_0_21021591_3041.cpp:12:23: error: expected constructor, destructor, or type conversion before ';' token
 }list[N*4];  
                       ^
0_0_21021591_3041.cpp:13:6: error: cannot declare reference to 'void'
 void build(int k,int x,int y)  
      ^
0_0_21021591_3041.cpp:13:6: error: variable or field 'nbsp' declared void
0_0_21021591_3041.cpp:13:25: error: expected ')' before ';' token
 void build(int k,int x,int y)  
                         ^
0_0_21021591_3041.cpp:13:25: error: expected constructor, destructor, or type conversion before ';' token
0_0_21021591_3041.cpp:13:26: error: 'k' does not name a type
 void build(int k,int x,int y)  
                          ^
0_0_21021591_3041.cpp:13:37: error: 'x' does not name a type
 void build(int k,int x,int y)  
                                     ^
0_0_21021591_3041.cpp:13:48: error: 'y' does not name a type
 void build(int k,int x,int y)  
                                                ^
0_0_21021591_3041.cpp:13:61: error: expected constructor, destructor, or type conversion before ';' token
 void build(int k,int x,int y)  
                                                             ^
0_0_21021591_3041.cpp:14: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-26 21:44:05, Gzip enabled