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_20687917_2910.cpp:9:8: error: macro names must be identifiers
 #define C    240  
        ^
0_0_20687917_2910.cpp:10:8: error: macro names must be identifiers
 #define TIME 10  
        ^
0_0_20687917_2910.cpp:11:8: error: macro names must be identifiers
 #define inf 1<<25  
        ^
0_0_20687917_2910.cpp:12:8: error: macro names must be identifiers
 #define LL long long  
        ^
0_0_20687917_2910.cpp:13:6: error: expected nested-name-specifier before '&' token
 using namespace std;  
      ^
0_0_20687917_2910.cpp:13:21: error: expected identifier before '&' token
 using namespace std;  
                     ^
0_0_20687917_2910.cpp:13:26: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                          ^
0_0_20687917_2910.cpp:13:27: error: 'std' does not name a type
 using namespace std;  
                           ^
0_0_20687917_2910.cpp:13:36: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                                    ^
0_0_20687917_2910.cpp:13:42: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                                          ^
0_0_20687917_2910.cpp:15:5: error: 'nbsp' declared as reference but not initialized
 int fac[15]={2,4,8,16,32,64,128,256,512,1024,2048,4096,8192,16384,32768};  
     ^
0_0_20687917_2910.cpp:15:10: error: 'fac' does not name a type
 int fac[15]={2,4,8,16,32,64,128,256,512,1024,2048,4096,8192,16384,32768};  
          ^
0_0_20687917_2910.cpp:15:84: error: expected constructor, destructor, or type conversion before ';' token
 int fac[15]={2,4,8,16,32,64,128,256,512,1024,2048,4096,8192,16384,32768};  
                                                                                    ^
0_0_20687917_2910.cpp:15:90: error: expected constructor, destructor, or type conversion before ';' token
 int fac[15]={2,4,8,16,32,64,128,256,512,1024,2048,4096,8192,16384,32768};  
                                                                                          ^
0_0_20687917_2910.cpp:16:6: error: cannot declare reference to 'void'
 void slove(int n,int m,int p){  
      ^
0_0_20687917_2910.cpp:16:6: error: variable or field 'nbsp' declared void
0_0_20687917_2910.cpp:16:25: error: expected ')' before ';' token
 void slove(int n,int m,int p){  
                         ^
0_0_20687917_2910.cpp:16:25: error: expected constructor, destructor, or type conversion before ';' token
0_0_20687917_2910.cpp:16:26: error: 'n' does not name a type
 void slove(int n,int m,int p){  
                          ^
0_0_20687917_2910.cpp:16:37: error: 'm' does not name a type
 void slove(int n,int m,int p){  
                                     ^
0_0_20687917_2910.cpp:16:48: error: 'p' does not name a type
 void slove(int n,int m,int p){  
                                                ^
0_0_20687917_2910.cpp:56:7: error: expected constructor, destructor, or type conversion before ';' token
 }  
       ^
0_0_20687917_2910.cpp:56:13: error: expected constructor, destructor, or type conversion before ';' token
 }  
             ^
0_0_20687917_2910.cpp:57:5: error: redefinition of 'int& nbsp'
 int main(){  
     ^
0_0_20687917_2910.cpp:15:5: note: 'int& nbsp' previously declared here
 int fac[15]={2,4,8,16,32,64,128,256,512,1024,2048,4096,8192,16384,32768};  
     ^
0_0_20687917_2910.cpp: In function 'int main()':
0_0_20687917_2910.cpp:58:29: error: 'nbsp' declared as reference but not initialized
     int t,n,m,p;  
                             ^
0_0_20687917_2910.cpp:58:34: error: 't' was not declared in this scope
     int t,n,m,p;  
                                  ^
0_0_20687917_2910.cpp:58:36: error: 'n' was not declared in this scope
     int t,n,m,p;  
                                    ^
0_0_20687917_2910.cpp:58:38: error: 'm' was not declared in this scope
     int t,n,m,p;  
                                      ^
0_0_20687917_2910.cpp:58:40: error: 'p' was not declared in this scope
     int t,n,m,p;  
                                        ^
0_0_20687917_2910.cpp:62:60: error: 'slove' was not declared in this scope
         slove(n,m,p);  
                                                            ^
0_0_20687917_2910.cpp:64:32: error: invalid conversion from 'int*' to 'int' [-fpermissive]
     return 0;  
                                ^
0_0_20687917_2910.cpp: At global scope:
0_0_20687917_2910.cpp:65:7: error: expected constructor, destructor, or type conversion before ';' token
 }  
       ^
0_0_20687917_2910.cpp:65:13: error: expected constructor, destructor, or type conversion 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 22:07:19, Gzip enabled