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_19707084_25202.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
 #include <cstdio>  
         ^
0_0_19707084_25202.cpp:2:9: error: #include expects "FILENAME" or <FILENAME>
 #include <cstring>  
         ^
0_0_19707084_25202.cpp:3:9: error: #include expects "FILENAME" or <FILENAME>
 #include <algorithm>  
         ^
0_0_19707084_25202.cpp:4:9: error: #include expects "FILENAME" or <FILENAME>
 #include <iostream>  
         ^
0_0_19707084_25202.cpp:5:6: error: expected nested-name-specifier before '&' token
 using namespace std;  
      ^
0_0_19707084_25202.cpp:5:21: error: expected identifier before '&' token
 using namespace std;  
                     ^
0_0_19707084_25202.cpp:5:26: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                          ^
0_0_19707084_25202.cpp:5:27: error: 'std' does not name a type
 using namespace std;  
                           ^
0_0_19707084_25202.cpp:5:36: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                                    ^
0_0_19707084_25202.cpp:5:42: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                                          ^
0_0_19707084_25202.cpp:6:5: error: 'nbsp' declared as reference but not initialized
 int status[20000];//存状态  
     ^
0_0_19707084_25202.cpp:6:10: error: 'status' does not name a type
 int status[20000];//存状态  
          ^
0_0_19707084_25202.cpp:7:5: error: redefinition of 'int& nbsp'
 int map[25][25];  
     ^
0_0_19707084_25202.cpp:6:5: note: 'int& nbsp' previously declared here
 int status[20000];//存状态  
     ^
0_0_19707084_25202.cpp:7:10: error: 'map' does not name a type
 int map[25][25];  
          ^
0_0_19707084_25202.cpp:7:27: error: expected constructor, destructor, or type conversion before ';' token
 int map[25][25];  
                           ^
0_0_19707084_25202.cpp:7:33: error: expected constructor, destructor, or type conversion before ';' token
 int map[25][25];  
                                 ^
0_0_19707084_25202.cpp:8:5: error: redefinition of 'int& nbsp'
 int d[25][20000];//d[i][j]表示第i行第j种状态时的最大和(这时的最大和是1~i行所能取得的最大和)  
     ^
0_0_19707084_25202.cpp:6:5: note: 'int& nbsp' previously declared here
 int status[20000];//存状态  
     ^
0_0_19707084_25202.cpp:8:10: error: 'd' does not name a type
 int d[25][20000];//d[i][j]表示第i行第j种状态时的最大和(这时的最大和是1~i行所能取得的最大和)  
          ^
0_0_19707084_25202.cpp:9:5: error: redefinition of 'int& nbsp'
 int n;  
     ^
0_0_19707084_25202.cpp:6:5: note: 'int& nbsp' previously declared here
 int status[20000];//存状态  
     ^
0_0_19707084_25202.cpp:9:10: error: 'n' does not name a type
 int n;  
          ^
0_0_19707084_25202.cpp:9:17: error: expected constructor, destructor, or type conversion before ';' token
 int n;  
                 ^
0_0_19707084_25202.cpp:9:23: error: expected constructor, destructor, or type conversion before ';' token
 int n;  
                       ^
0_0_19707084_25202.cpp:10:5: error: redefinition of 'int& nbsp'
 int init(int n)//将符合要求的状态保存下来,即没有两个一相邻的情况  
     ^
0_0_19707084_25202.cpp:6:5: note: 'int& nbsp' previously declared here
 int status[20000];//存状态  
     ^
0_0_19707084_25202.cpp:10:23: error: expected ')' before ';' token
 int init(int n)//将符合要求的状态保存下来,即没有两个一相邻的情况  
                       ^
0_0_19707084_25202.cpp:10:23: error: expected constructor, destructor, or type conversion before ';' token
0_0_19707084_25202.cpp:10:24: error: 'n' does not name a type
 int init(int n)//将符合要求的状态保存下来,即没有两个一相邻的情况  
                        ^
0_0_19707084_25202.cpp:17:7: error: expected constructor, destructor, or type conversion before ';' token
 }  
       ^
0_0_19707084_25202.cpp:17:13: error: expected constructor, destructor, or type conversion before ';' token
 }  
             ^
0_0_19707084_25202.cpp:18:5: error: redefinition of 'int& nbsp'
 int cal(int x, int t)//计算该状态下的和  
     ^
0_0_19707084_25202.cpp:6:5: note: 'int& nbsp' previously declared here
 int status[20000];//存状态  
     ^
0_0_19707084_25202.cpp:18:22: error: expected ')' before ';' token
 int cal(int x, int t)//计算该状态下的和  
                      ^
0_0_19707084_25202.cpp:18:22: error: expected constructor, destructor, or type conversion before ';' token
0_0_19707084_25202.cpp:18:23: error: 'x' does not name a type
 int cal(int x, int t)//计算该状态下的和  
                       ^
0_0_19707084_25202.cpp:18:35: error: redefinition of 'int& nbsp'
 int cal(int x, int t)//计算该状态下的和  
                                   ^
0_0_19707084_25202.cpp:6:5: note: 'int& nbsp' previously declared here
 int status[20000];//存状态  
     ^
0_0_19707084_25202.cpp:18:40: error: 't' does not name a type
 int cal(int x, int t)//计算该状态下的和  
                                        ^
0_0_19707084_25202.cpp:28:7: error: expected constructor, destructor, or type conversion before ';' token
 }  
       ^
0_0_19707084_25202.cpp:28:13: error: expected constructor, destructor, or type conversion before ';' token
 }  
             ^
0_0_19707084_25202.cpp:29:5: error: redefinition of 'int& nbsp'
 int main()  
     ^
0_0_19707084_25202.cpp:6:5: note: 'int& nbsp' previously declared here
 int status[20000];//存状态  
     ^
0_0_19707084_25202.cpp:29:17: error: expected constructor, destructor, or type conversion before 'nbsp'
 int main()  
                 ^
0_0_19707084_25202.cpp:29:27: error: expected constructor, destructor, or type conversion before ';' token
 int main()  
                           ^
0_0_19707084_25202.cpp:30: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-29 18:22:43, Gzip enabled