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_22064961_10382.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
 #include <iostream>
         ^
0_0_22064961_10382.cpp:2:9: error: #include expects "FILENAME" or <FILENAME>
 #include <cstdio>
         ^
0_0_22064961_10382.cpp:3:9: error: #include expects "FILENAME" or <FILENAME>
 #include <string.h>
         ^
0_0_22064961_10382.cpp:4:6: error: expected nested-name-specifier before '&' token
 using namespace std;
      ^
0_0_22064961_10382.cpp:4:21: error: expected identifier before '&' token
 using namespace std;
                     ^
0_0_22064961_10382.cpp:4:26: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;
                          ^
0_0_22064961_10382.cpp:4:27: error: 'std' does not name a type
 using namespace std;
                           ^
0_0_22064961_10382.cpp:5:7: error: 'nbsp' declared as reference but not initialized
 const int arr=20;
       ^
0_0_22064961_10382.cpp:5:16: error: conflicting declaration 'int& nbsp'
 const int arr=20;
                ^
0_0_22064961_10382.cpp:5:7: note: previous declaration as 'const int& nbsp'
 const int arr=20;
       ^
0_0_22064961_10382.cpp:5:21: error: 'arr' does not name a type
 const int arr=20;
                     ^
0_0_22064961_10382.cpp:6:7: error: redefinition of 'const int& nbsp'
 const int inf=1<<28 ;
       ^
0_0_22064961_10382.cpp:5:7: note: 'const int& nbsp' previously declared here
 const int arr=20;
       ^
0_0_22064961_10382.cpp:6:16: error: conflicting declaration 'int& nbsp'
 const int inf=1<<28 ;
                ^
0_0_22064961_10382.cpp:5:7: note: previous declaration as 'const int& nbsp'
 const int arr=20;
       ^
0_0_22064961_10382.cpp:6:21: error: 'inf' does not name a type
 const int inf=1<<28 ;
                     ^
0_0_22064961_10382.cpp:7:5: error: conflicting declaration 'int& nbsp'
 int dp[arr+10][arr+10][arr+10][arr+10];
     ^
0_0_22064961_10382.cpp:5:7: note: previous declaration as 'const int& nbsp'
 const int arr=20;
       ^
0_0_22064961_10382.cpp:7:10: error: 'dp' does not name a type
 int dp[arr+10][arr+10][arr+10][arr+10];
          ^
0_0_22064961_10382.cpp:8:5: error: conflicting declaration 'int& nbsp'
 int num[arr+10][arr+10];
     ^
0_0_22064961_10382.cpp:5:7: note: previous declaration as 'const int& nbsp'
 const int arr=20;
       ^
0_0_22064961_10382.cpp:8:10: error: 'num' does not name a type
 int num[arr+10][arr+10];
          ^
0_0_22064961_10382.cpp:9:5: error: conflicting declaration 'int& nbsp'
 int sum[arr+10][arr+10];
     ^
0_0_22064961_10382.cpp:5:7: note: previous declaration as 'const int& nbsp'
 const int arr=20;
       ^
0_0_22064961_10382.cpp:9:10: error: 'sum' does not name a type
 int sum[arr+10][arr+10];
          ^
0_0_22064961_10382.cpp:10:5: error: conflicting declaration 'int& nbsp'
 int main()
     ^
0_0_22064961_10382.cpp:5:7: note: previous declaration as 'const int& nbsp'
 const int arr=20;
       ^
0_0_22064961_10382.cpp: In function 'int main()':
0_0_22064961_10382.cpp:12:29: error: 'nbsp' declared as reference but not initialized
     int n,m,k,ca=0;
                             ^
0_0_22064961_10382.cpp:12:34: error: 'n' was not declared in this scope
     int n,m,k,ca=0;
                                  ^
0_0_22064961_10382.cpp:12:36: error: 'm' was not declared in this scope
     int n,m,k,ca=0;
                                    ^
0_0_22064961_10382.cpp:12:38: error: 'k' was not declared in this scope
     int n,m,k,ca=0;
                                      ^
0_0_22064961_10382.cpp:12:40: error: 'ca' was not declared in this scope
     int n,m,k,ca=0;
                                        ^
0_0_22064961_10382.cpp:13:54: error: 'scanf' was not declared in this scope
     while(scanf("%d%d%d",&n,&m,&k)!=EOF)
                                                      ^
0_0_22064961_10382.cpp:13:57: error: 'EOF' was not declared in this scope
     while(scanf("%d%d%d",&n,&m,&k)!=EOF)
                                                         ^
0_0_22064961_10382.cpp:15:56: error: 'num' was not declared in this scope
         memset(num,0,sizeof(num));
                                                        ^
0_0_22064961_10382.cpp:15:73: error: 'memset' was not declared in this scope
         memset(num,0,sizeof(num));
                                                                         ^
0_0_22064961_10382.cpp:16:56: error: 'sum' was not declared in this scope
         memset(sum,0,sizeof(sum));
                                                        ^
0_0_22064961_10382.cpp:17:57: error: 'nbsp' declared as reference but not initialized
         for(int i=1;i<=k;i++)
                                                         ^
0_0_22064961_10382.cpp:17:62: error: 'i' was not declared in this scope
         for(int i=1;i<=k;i++)
                                                              ^
0_0_22064961_10382.cpp:17:70: error: expected ')' before ';' token
         for(int i=1;i<=k;i++)
                                                                      ^
0_0_22064961_10382.cpp:17:71: error: 'i' was not declared in this scope
         for(int i=1;i<=k;i++)
                                                                       ^
0_0_22064961_10382.cpp:19:77: error: 'nbsp' declared as reference but not initialized
             int x,y ;
                                                                             ^
0_0_22064961_10382.cpp:19:82: error: 'x' was not declared in this scope
             int x,y ;
                                                                                  ^
0_0_22064961_10382.cpp:19:84: error: 'y' was not declared in this scope
             int x,y ;
                                                                                    ^
0_0_22064961_10382.cpp:20:91: error: 'scanf' was not declared in this scope
             scanf("%d%d",&x,&y);
                                                                                           ^
0_0_22064961_10382.cpp:23:57: error: 'nbsp' declared as reference but not initialized
         for(int i=1;i<=n;i++)
                                                         ^
0_0_22064961_10382.cpp:23:70: error: expected ')' before ';' token
         for(int i=1;i<=n;i++)
                                                                      ^
0_0_22064961_10382.cpp:25:81: error: 'nbsp' declared as reference but not initialized
             for(int j=1;j<=m;j++)
                                                                                 ^
0_0_22064961_10382.cpp:25:86: error: 'j' was not declared in this scope
             for(int j=1;j<=m;j++)
                                                                                      ^
0_0_22064961_10382.cpp:25:94: error: expected ')' before ';' token
             for(int j=1;j<=m;j++)
                                                                                              ^
0_0_22064961_10382.cpp:25:95: error: 'j' was not declared in this scope
             for(int j=1;j<=m;j++)
                                                                                               ^
0_0_22064961_10382.cpp:30:57: error: 'nbsp' declared as reference but not initialized
         for(int w=1;w<=n;w++)
                                                         ^
0_0_22064961_10382.cpp:30:62: error: 'w' was not declared in this scope
         for(int w=1;w<=n;w++)
                                                              ^
0_0_22064961_10382.cpp:30:70: error: expected ')' before ';' token
         for(int w=1;w<=n;w++)
                                                                      ^
0_0_22064961_10382.cpp:30:71: error: 'w' was not declared in this scope
         for(int w=1;w<=n;w++)
                                                                       ^
0_0_22064961_10382.cpp:32:81: error: 'nbsp' declared as reference but not initialized
             for(int h=1;h<=m;h++)
                                                                                 ^
0_0_22064961_10382.cpp:32:86: err


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001000(s) query 1, Server time : 2025-02-18 21:38:53, Gzip enabled