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_22156193_16387.cpp:7:8: error: macro names must be identifiers
 #define LL long long  
        ^
0_0_22156193_16387.cpp:4:6: error: expected constructor, destructor, or type conversion before ';' token
   
      ^
0_0_22156193_16387.cpp:4:12: error: expected constructor, destructor, or type conversion before ';' token
   
            ^
0_0_22156193_16387.cpp:5:6: error: expected nested-name-specifier before '&' token
 using namespace std;  
      ^
0_0_22156193_16387.cpp:5:21: error: expected identifier before '&' token
 using namespace std;  
                     ^
0_0_22156193_16387.cpp:5:26: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                          ^
0_0_22156193_16387.cpp:5:27: error: 'std' does not name a type
 using namespace std;  
                           ^
0_0_22156193_16387.cpp:5:36: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                                    ^
0_0_22156193_16387.cpp:5:42: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                                          ^
0_0_22156193_16387.cpp:6:6: error: expected constructor, destructor, or type conversion before ';' token
   
      ^
0_0_22156193_16387.cpp:6:12: error: expected constructor, destructor, or type conversion before ';' token
   
            ^
0_0_22156193_16387.cpp:8:6: error: expected constructor, destructor, or type conversion before ';' token
   
      ^
0_0_22156193_16387.cpp:8:12: error: expected constructor, destructor, or type conversion before ';' token
   
            ^
0_0_22156193_16387.cpp:9:7: error: 'nbsp' declared as reference but not initialized
 const int N=25;  
       ^
0_0_22156193_16387.cpp:9:16: error: conflicting declaration 'int& nbsp'
 const int N=25;  
                ^
0_0_22156193_16387.cpp:9:7: note: previous declaration as 'const int& nbsp'
 const int N=25;  
       ^
0_0_22156193_16387.cpp:9:21: error: 'N' does not name a type
 const int N=25;  
                     ^
0_0_22156193_16387.cpp:9:31: error: expected constructor, destructor, or type conversion before ';' token
 const int N=25;  
                               ^
0_0_22156193_16387.cpp:9:37: error: expected constructor, destructor, or type conversion before ';' token
 const int N=25;  
                                     ^
0_0_22156193_16387.cpp:10:5: error: conflicting declaration 'int& nbsp'
 int digit[N];  
     ^
0_0_22156193_16387.cpp:9:7: note: previous declaration as 'const int& nbsp'
 const int N=25;  
       ^
0_0_22156193_16387.cpp:10:10: error: 'digit' does not name a type
 int digit[N];  
          ^
0_0_22156193_16387.cpp:10:24: error: expected constructor, destructor, or type conversion before ';' token
 int digit[N];  
                        ^
0_0_22156193_16387.cpp:10:30: error: expected constructor, destructor, or type conversion before ';' token
 int digit[N];  
                              ^
0_0_22156193_16387.cpp:11:1: error: 'LL' does not name a type
 LL dp[N][N];  
 ^
0_0_22156193_16387.cpp:11:9: error: 'dp' does not name a type
 LL dp[N][N];  
         ^
0_0_22156193_16387.cpp:11:23: error: expected constructor, destructor, or type conversion before ';' token
 LL dp[N][N];  
                       ^
0_0_22156193_16387.cpp:11:29: error: expected constructor, destructor, or type conversion before ';' token
 LL dp[N][N];  
                             ^
0_0_22156193_16387.cpp:12:6: error: expected constructor, destructor, or type conversion before ';' token
   
      ^
0_0_22156193_16387.cpp:12:12: error: expected constructor, destructor, or type conversion before ';' token
   
            ^
0_0_22156193_16387.cpp:13:1: error: 'LL' does not name a type
 LL dfs(int pos,int statu,int limit)  
 ^
0_0_22156193_16387.cpp:13:21: error: expected ')' before ';' token
 LL dfs(int pos,int statu,int limit)  
                     ^
0_0_22156193_16387.cpp:13:21: error: expected constructor, destructor, or type conversion before ';' token
0_0_22156193_16387.cpp:13:22: error: 'pos' does not name a type
 LL dfs(int pos,int statu,int limit)  
                      ^
0_0_22156193_16387.cpp:13:35: error: 'statu' does not name a type
 LL dfs(int pos,int statu,int limit)  
                                   ^
0_0_22156193_16387.cpp:13:50: error: 'limit' does not name a type
 LL dfs(int pos,int statu,int limit)  
                                                  ^
0_0_22156193_16387.cpp:13:67: error: expected constructor, destructor, or type conversion before ';' token
 LL dfs(int pos,int statu,int limit)  
                                                                   ^
0_0_22156193_16387.cpp:14:1: error: expected unqualified-id before '{' token
 {  
 ^
0_0_22156193_16387.cpp:28:7: error: expected constructor, destructor, or type conversion before ';' token
 }  
       ^
0_0_22156193_16387.cpp:28:13: error: expected constructor, destructor, or type conversion before ';' token
 }  
             ^
0_0_22156193_16387.cpp:29:6: error: expected constructor, destructor, or type conversion before ';' token
   
      ^
0_0_22156193_16387.cpp:29:12: error: expected constructor, destructor, or type conversion before ';' token
   
            ^
0_0_22156193_16387.cpp:30:1: error: 'LL' does not name a type
 LL calc(LL n)  
 ^
0_0_22156193_16387.cpp:30:13: error: expected constructor, destructor, or type conversion before '(' token
 LL calc(LL n)  
             ^
0_0_22156193_16387.cpp:30:22: error: 'n' does not name a type
 LL calc(LL n)  
                      ^
0_0_22156193_16387.cpp:30:35: error: expected constructor, destructor, or type conversion before ';' token
 LL calc(LL n)  
                                   ^
0_0_22156193_16387.cpp:31: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-07-03 08:46:56, Gzip enabled