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_13807068_18121.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
 #include <iostream>
         ^
0_0_13807068_18121.cpp:2:6: error: expected nested-name-specifier before '&' token
 using namespace std;
      ^
0_0_13807068_18121.cpp:2:21: error: expected identifier before '&' token
 using namespace std;
                     ^
0_0_13807068_18121.cpp:2:26: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;
                          ^
0_0_13807068_18121.cpp:2:27: error: 'std' does not name a type
 using namespace std;
                           ^
0_0_13807068_18121.cpp:3:7: error: 'nbsp' declared as reference but not initialized
 const int MAXN=1000000;
       ^
0_0_13807068_18121.cpp:3:16: error: conflicting declaration 'int& nbsp'
 const int MAXN=1000000;
                ^
0_0_13807068_18121.cpp:3:7: note: previous declaration as 'const int& nbsp'
 const int MAXN=1000000;
       ^
0_0_13807068_18121.cpp:3:21: error: 'MAXN' does not name a type
 const int MAXN=1000000;
                     ^
0_0_13807068_18121.cpp:4:7: error: redefinition of 'const int& nbsp'
 const int MAXM=10000;
       ^
0_0_13807068_18121.cpp:3:7: note: 'const int& nbsp' previously declared here
 const int MAXN=1000000;
       ^
0_0_13807068_18121.cpp:4:16: error: conflicting declaration 'int& nbsp'
 const int MAXM=10000;
                ^
0_0_13807068_18121.cpp:3:7: note: previous declaration as 'const int& nbsp'
 const int MAXN=1000000;
       ^
0_0_13807068_18121.cpp:4:21: error: 'MAXM' does not name a type
 const int MAXM=10000;
                     ^
0_0_13807068_18121.cpp:5:5: error: conflicting declaration 'int& nbsp'
 int nn[MAXN+1],mm[MAXM+1];
     ^
0_0_13807068_18121.cpp:3:7: note: previous declaration as 'const int& nbsp'
 const int MAXN=1000000;
       ^
0_0_13807068_18121.cpp:5:10: error: 'nn' does not name a type
 int nn[MAXN+1],mm[MAXM+1];
          ^
0_0_13807068_18121.cpp:6:5: error: conflicting declaration 'int& nbsp'
 int Fail[MAXM+1];
     ^
0_0_13807068_18121.cpp:3:7: note: previous declaration as 'const int& nbsp'
 const int MAXN=1000000;
       ^
0_0_13807068_18121.cpp:6:10: error: 'Fail' does not name a type
 int Fail[MAXM+1];
          ^
0_0_13807068_18121.cpp:7:6: error: cannot declare reference to 'void'
 void GetFail(int num[],int m){
      ^
0_0_13807068_18121.cpp:7:6: error: variable or field 'nbsp' declared void
0_0_13807068_18121.cpp:7:27: error: expected ')' before ';' token
 void GetFail(int num[],int m){
                           ^
0_0_13807068_18121.cpp:7:27: error: expected constructor, destructor, or type conversion before ';' token
0_0_13807068_18121.cpp:7:28: error: 'num' does not name a type
 void GetFail(int num[],int m){
                            ^
0_0_13807068_18121.cpp:7:43: error: 'm' does not name a type
 void GetFail(int num[],int m){
                                           ^
0_0_13807068_18121.cpp:17:5: error: conflicting declaration 'int& nbsp'
 int KMP(int numA[],int numB[],int n,int m){
     ^
0_0_13807068_18121.cpp:3:7: note: previous declaration as 'const int& nbsp'
 const int MAXN=1000000;
       ^
0_0_13807068_18121.cpp:17:22: error: expected ')' before ';' token
 int KMP(int numA[],int numB[],int n,int m){
                      ^
0_0_13807068_18121.cpp:17:22: error: expected constructor, destructor, or type conversion before ';' token
0_0_13807068_18121.cpp:17:23: error: 'numA' does not name a type
 int KMP(int numA[],int numB[],int n,int m){
                       ^
0_0_13807068_18121.cpp:17:39: error: 'numB' does not name a type
 int KMP(int numA[],int numB[],int n,int m){
                                       ^
0_0_13807068_18121.cpp:17:55: error: 'n' does not name a type
 int KMP(int numA[],int numB[],int n,int m){
                                                       ^
0_0_13807068_18121.cpp:17:66: error: 'm' does not name a type
 int KMP(int numA[],int numB[],int n,int m){
                                                                  ^
0_0_13807068_18121.cpp:28:8: error: 'nbsp' declared as an 'inline' variable
 inline bool scan_d(int &num)  //  这个就是 加速的 关键了 
        ^
0_0_13807068_18121.cpp:28:8: error: conflicting declaration 'int& nbsp'
0_0_13807068_18121.cpp:3:7: note: previous declaration as 'const int& nbsp'
 const int MAXN=1000000;
       ^
0_0_13807068_18121.cpp:28:18: error: conflicting declaration 'bool& nbsp'
 inline bool scan_d(int &num)  //  这个就是 加速的 关键了 
                  ^
0_0_13807068_18121.cpp:3:7: note: previous declaration as 'const int& nbsp'
 const int MAXN=1000000;
       ^
0_0_13807068_18121.cpp:28:38: error: expected ')' before ';' token
 inline bool scan_d(int &num)  //  这个就是 加速的 关键了 
                                      ^
0_0_13807068_18121.cpp:28:38: error: expected constructor, destructor, or type conversion before ';' token
0_0_13807068_18121.cpp:28:43: error: expected constructor, destructor, or type conversion before ')' token
 inline bool scan_d(int &num)  //  这个就是 加速的 关键了 
                                           ^
0_0_13807068_18121.cpp:29: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 03:55:33, Gzip enabled