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_20779794_22746.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
 #include <iostream>  
         ^
0_0_20779794_22746.cpp:6:8: error: macro names must be identifiers
 #define maxprime 1000007  
        ^
0_0_20779794_22746.cpp:40:8: error: macro names must be identifiers
 #define inf 0x4f4f4f4f  
        ^
0_0_20779794_22746.cpp:5:6: error: expected nested-name-specifier before '&' token
 using namespace std;  
      ^
0_0_20779794_22746.cpp:5:21: error: expected identifier before '&' token
 using namespace std;  
                     ^
0_0_20779794_22746.cpp:5:26: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                          ^
0_0_20779794_22746.cpp:5:27: error: 'std' does not name a type
 using namespace std;  
                           ^
0_0_20779794_22746.cpp:5:36: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                                    ^
0_0_20779794_22746.cpp:5:42: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                                          ^
0_0_20779794_22746.cpp:7:7: error: expected identifier before '&' token
 struct gaptree{  
       ^
0_0_20779794_22746.cpp:7:12: error: invalid type in declaration before ';' token
 struct gaptree{  
            ^
0_0_20779794_22746.cpp:7:12: error: 'nbsp' declared as reference but not initialized
0_0_20779794_22746.cpp:7:13: error: 'gaptree' does not name a type
 struct gaptree{  
             ^
0_0_20779794_22746.cpp:35:8: error: expected constructor, destructor, or type conversion before ';' token
 };  
        ^
0_0_20779794_22746.cpp:35:14: error: expected constructor, destructor, or type conversion before ';' token
 };  
              ^
0_0_20779794_22746.cpp:36:6: error: expected constructor, destructor, or type conversion before ';' token
   
      ^
0_0_20779794_22746.cpp:36:12: error: expected constructor, destructor, or type conversion before ';' token
   
            ^
0_0_20779794_22746.cpp:37:9: error: conflicting declaration 'long long int& nbsp'
 __int64 hash[maxprime];  
         ^
0_0_20779794_22746.cpp:7:8: note: previous declaration as 'int& nbsp'
 struct gaptree{  
        ^
0_0_20779794_22746.cpp:37:14: error: 'hash' does not name a type
 __int64 hash[maxprime];  
              ^
0_0_20779794_22746.cpp:37:34: error: expected constructor, destructor, or type conversion before ';' token
 __int64 hash[maxprime];  
                                  ^
0_0_20779794_22746.cpp:37:40: error: expected constructor, destructor, or type conversion before ';' token
 __int64 hash[maxprime];  
                                        ^
0_0_20779794_22746.cpp:38:1: error: 'gaptree' does not name a type
 gaptree start ,end;  
 ^
0_0_20779794_22746.cpp:38:14: error: 'start' does not name a type
 gaptree start ,end;  
              ^
0_0_20779794_22746.cpp:38:25: error: expected unqualified-id before ',' token
 gaptree start ,end;  
                         ^
0_0_20779794_22746.cpp:38:29: error: expected constructor, destructor, or type conversion before ';' token
 gaptree start ,end;  
                             ^
0_0_20779794_22746.cpp:38:35: error: expected constructor, destructor, or type conversion before ';' token
 gaptree start ,end;  
                                   ^
0_0_20779794_22746.cpp:38:41: error: expected constructor, destructor, or type conversion before ';' token
 gaptree start ,end;  
                                         ^
0_0_20779794_22746.cpp:39:9: error: conflicting declaration 'long long int& nbsp'
 __int64 startval,endval;int minstep;  
         ^
0_0_20779794_22746.cpp:7:8: note: previous declaration as 'int& nbsp'
 struct gaptree{  
        ^
0_0_20779794_22746.cpp:39:14: error: 'startval' does not name a type
 __int64 startval,endval;int minstep;  
              ^
0_0_20779794_22746.cpp:39:34: error: redefinition of 'int& nbsp'
 __int64 startval,endval;int minstep;  
                                  ^
0_0_20779794_22746.cpp:7:8: note: 'int& nbsp' previously declared here
 struct gaptree{  
        ^
0_0_20779794_22746.cpp:39:39: error: 'minstep' does not name a type
 __int64 startval,endval;int minstep;  
                                       ^
0_0_20779794_22746.cpp:39:52: error: expected constructor, destructor, or type conversion before ';' token
 __int64 startval,endval;int minstep;  
                                                    ^
0_0_20779794_22746.cpp:39:58: error: expected constructor, destructor, or type conversion before ';' token
 __int64 startval,endval;int minstep;  
                                                          ^
0_0_20779794_22746.cpp:41:6: error: cannot declare reference to 'void'
 void init()  
      ^
0_0_20779794_22746.cpp:41:6: error: variable or field 'nbsp' declared void
0_0_20779794_22746.cpp:41:18: error: expected constructor, destructor, or type conversion before 'nbsp'
 void init()  
                  ^
0_0_20779794_22746.cpp:41:28: error: expected constructor, destructor, or type conversion before ';' token
 void init()  
                            ^
0_0_20779794_22746.cpp:42: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-16 19:41:28, Gzip enabled