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_24031112_5190.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
 #include <iostream> 
         ^
0_0_24031112_5190.cpp:2:9: error: #include expects "FILENAME" or <FILENAME>
 #include <stdio.h> 
         ^
0_0_24031112_5190.cpp:4:6: error: expected nested-name-specifier before '&' token
 using namespace std; 
      ^
0_0_24031112_5190.cpp:4:21: error: expected identifier before '&' token
 using namespace std; 
                     ^
0_0_24031112_5190.cpp:4:26: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std; 
                          ^
0_0_24031112_5190.cpp:4:27: error: 'std' does not name a type
 using namespace std; 
                           ^
0_0_24031112_5190.cpp:4:36: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std; 
                                    ^
0_0_24031112_5190.cpp:5:7: error: 'nbsp' declared as reference but not initialized
 const int maxn = 105; 
       ^
0_0_24031112_5190.cpp:5:16: error: conflicting declaration 'int& nbsp'
 const int maxn = 105; 
                ^
0_0_24031112_5190.cpp:5:7: note: previous declaration as 'const int& nbsp'
 const int maxn = 105; 
       ^
0_0_24031112_5190.cpp:5:21: error: 'maxn' does not name a type
 const int maxn = 105; 
                     ^
0_0_24031112_5190.cpp:5:31: error: expected unqualified-id before '=' token
 const int maxn = 105; 
                               ^
0_0_24031112_5190.cpp:5:38: error: expected unqualified-id before numeric constant
 const int maxn = 105; 
                                      ^
0_0_24031112_5190.cpp:5:47: error: expected constructor, destructor, or type conversion before ';' token
 const int maxn = 105; 
                                               ^
0_0_24031112_5190.cpp:6:6: error: expected constructor, destructor, or type conversion before ';' token
  int N,v1,v2,K;  
      ^
0_0_24031112_5190.cpp:6:11: error: conflicting declaration 'int& nbsp'
  int N,v1,v2,K;  
           ^
0_0_24031112_5190.cpp:5:7: note: previous declaration as 'const int& nbsp'
 const int maxn = 105; 
       ^
0_0_24031112_5190.cpp:6:16: error: 'N' does not name a type
  int N,v1,v2,K;  
                ^
0_0_24031112_5190.cpp:6:31: error: expected constructor, destructor, or type conversion before ';' token
  int N,v1,v2,K;  
                               ^
0_0_24031112_5190.cpp:6:37: error: expected constructor, destructor, or type conversion before ';' token
  int N,v1,v2,K;  
                                     ^
0_0_24031112_5190.cpp:7:5: error: conflicting declaration 'int& nbsp'
 int price[maxn],score[maxn],value[maxn];  
     ^
0_0_24031112_5190.cpp:5:7: note: previous declaration as 'const int& nbsp'
 const int maxn = 105; 
       ^
0_0_24031112_5190.cpp:7:10: error: 'price' does not name a type
 int price[maxn],score[maxn],value[maxn];  
          ^
0_0_24031112_5190.cpp:7:51: error: expected constructor, destructor, or type conversion before ';' token
 int price[maxn],score[maxn],value[maxn];  
                                                   ^
0_0_24031112_5190.cpp:7:57: error: expected constructor, destructor, or type conversion before ';' token
 int price[maxn],score[maxn],value[maxn];  
                                                         ^
0_0_24031112_5190.cpp:8:5: error: conflicting declaration 'int& nbsp'
 int dp[maxn][maxn][maxn/2];  
     ^
0_0_24031112_5190.cpp:5:7: note: previous declaration as 'const int& nbsp'
 const int maxn = 105; 
       ^
0_0_24031112_5190.cpp:8:10: error: 'dp' does not name a type
 int dp[maxn][maxn][maxn/2];  
          ^
0_0_24031112_5190.cpp:8:38: error: expected constructor, destructor, or type conversion before ';' token
 int dp[maxn][maxn][maxn/2];  
                                      ^
0_0_24031112_5190.cpp:8:44: error: expected constructor, destructor, or type conversion before ';' token
 int dp[maxn][maxn][maxn/2];  
                                            ^
0_0_24031112_5190.cpp:9:5: error: conflicting declaration 'int& nbsp'
 int Max(int a,int b,int c,int d) {  
     ^
0_0_24031112_5190.cpp:5:7: note: previous declaration as 'const int& nbsp'
 const int maxn = 105; 
       ^
0_0_24031112_5190.cpp:9:22: error: expected ')' before ';' token
 int Max(int a,int b,int c,int d) {  
                      ^
0_0_24031112_5190.cpp:9:22: error: expected constructor, destructor, or type conversion before ';' token
0_0_24031112_5190.cpp:9:23: error: 'a' does not name a type
 int Max(int a,int b,int c,int d) {  
                       ^
0_0_24031112_5190.cpp:9:34: error: 'b' does not name a type
 int Max(int a,int b,int c,int d) {  
                                  ^
0_0_24031112_5190.cpp:9:45: error: 'c' does not name a type
 int Max(int a,int b,int c,int d) {  
                                             ^
0_0_24031112_5190.cpp:9:56: error: 'd' does not name a type
 int Max(int a,int b,int c,int d) {  
                                                        ^
0_0_24031112_5190.cpp:9:64: error: expected unqualified-id before '{' token
 int Max(int a,int b,int c,int d) {  
                                                                ^
0_0_24031112_5190.cpp:18:7: error: expected constructor, destructor, or type conversion before ';' token
 }  
       ^
0_0_24031112_5190.cpp:18:13: error: expected constructor, destructor, or type conversion before ';' token
 }  
             ^
0_0_24031112_5190.cpp:19:5: error: conflicting declaration 'int& nbsp'
 int main() {  
     ^
0_0_24031112_5190.cpp:5:7: note: previous declaration as 'const int& nbsp'
 const int maxn = 105; 
       ^
0_0_24031112_5190.cpp:19:17: error: expected constructor, destructor, or type conversion before 'nbsp'
 int main() {  
                 ^
0_0_24031112_5190.cpp:19:22: error: expected unqualified-id before '{' token
 int main() {  
                      ^


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 16:40:46, Gzip enabled