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_21942671_4497.cpp:14:8: error: macro names must be identifiers
 #define inf 99999999  
        ^
0_0_21942671_4497.cpp:15:8: error: macro names must be identifiers
 #define maxn 300  
        ^
0_0_21942671_4497.cpp:11:6: error: expected nested-name-specifier before '&' token
 using namespace std;  
      ^
0_0_21942671_4497.cpp:11:21: error: expected identifier before '&' token
 using namespace std;  
                     ^
0_0_21942671_4497.cpp:11:26: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                          ^
0_0_21942671_4497.cpp:11:27: error: 'std' does not name a type
 using namespace std;  
                           ^
0_0_21942671_4497.cpp:11:36: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                                    ^
0_0_21942671_4497.cpp:11:42: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                                          ^
0_0_21942671_4497.cpp:12:22: error: 'long long int& nbsp' redeclared as different kind of symbol
 typedef __int64 ll;  
                      ^
0_0_21942671_4497.cpp:12:9: note: previous declaration 'typedef int& nbsp'
 typedef __int64 ll;  
         ^
0_0_21942671_4497.cpp:12:27: error: 'll' does not name a type
 typedef __int64 ll;  
                           ^
0_0_21942671_4497.cpp:12:35: error: expected constructor, destructor, or type conversion before ';' token
 typedef __int64 ll;  
                                   ^
0_0_21942671_4497.cpp:12:41: error: expected constructor, destructor, or type conversion before ';' token
 typedef __int64 ll;  
                                         ^
0_0_21942671_4497.cpp:13:23: error: 'unsigned int& nbsp' redeclared as different kind of symbol
 typedef unsigned __int64 ULL;  
                       ^
0_0_21942671_4497.cpp:13:9: note: previous declaration 'typedef int& nbsp'
 typedef unsigned __int64 ULL;  
         ^
0_0_21942671_4497.cpp:13:36: error: 'long long int& nbsp' redeclared as different kind of symbol
 typedef unsigned __int64 ULL;  
                                    ^
0_0_21942671_4497.cpp:13:9: note: previous declaration 'typedef int& nbsp'
 typedef unsigned __int64 ULL;  
         ^
0_0_21942671_4497.cpp:13:41: error: 'ULL' does not name a type
 typedef unsigned __int64 ULL;  
                                         ^
0_0_21942671_4497.cpp:13:50: error: expected constructor, destructor, or type conversion before ';' token
 typedef unsigned __int64 ULL;  
                                                  ^
0_0_21942671_4497.cpp:13:56: error: expected constructor, destructor, or type conversion before ';' token
 typedef unsigned __int64 ULL;  
                                                        ^
0_0_21942671_4497.cpp:16:5: error: 'int& nbsp' redeclared as different kind of symbol
 int v[7];  
     ^
0_0_21942671_4497.cpp:13:9: note: previous declaration 'typedef int& nbsp'
 typedef unsigned __int64 ULL;  
         ^
0_0_21942671_4497.cpp:16:10: error: 'v' does not name a type
 int v[7];  
          ^
0_0_21942671_4497.cpp:16:20: error: expected constructor, destructor, or type conversion before ';' token
 int v[7];  
                    ^
0_0_21942671_4497.cpp:16:26: error: expected constructor, destructor, or type conversion before ';' token
 int v[7];  
                          ^
0_0_21942671_4497.cpp:17:1: error: 'll' does not name a type
 ll c1[maxn][110],c2[maxn][110];  
 ^
0_0_21942671_4497.cpp:17:9: error: 'c1' does not name a type
 ll c1[maxn][110],c2[maxn][110];  
         ^
0_0_21942671_4497.cpp:17:42: error: expected constructor, destructor, or type conversion before ';' token
 ll c1[maxn][110],c2[maxn][110];  
                                          ^
0_0_21942671_4497.cpp:17:48: error: expected constructor, destructor, or type conversion before ';' token
 ll c1[maxn][110],c2[maxn][110];  
                                                ^
0_0_21942671_4497.cpp:18:5: error: 'int& nbsp' redeclared as different kind of symbol
 int main(){  
     ^
0_0_21942671_4497.cpp:13:9: note: previous declaration 'typedef int& nbsp'
 typedef unsigned __int64 ULL;  
         ^
0_0_21942671_4497.cpp: In function 'int main()':
0_0_21942671_4497.cpp:18:22: error: expected primary-expression before ';' token
 int main(){  
                      ^
0_0_21942671_4497.cpp:18:28: error: expected primary-expression before ';' token
 int main(){  
                            ^
0_0_21942671_4497.cpp:19:6: error: expected primary-expression before ';' token
     int n;  
      ^
0_0_21942671_4497.cpp:19:12: error: expected primary-expression before ';' token
     int n;  
            ^
0_0_21942671_4497.cpp:19:18: error: expected primary-expression before ';' token
     int n;  
                  ^
0_0_21942671_4497.cpp:19:24: error: expected primary-expression before ';' token
     int n;  
                        ^
0_0_21942671_4497.cpp:19:29: error: 'nbsp' declared as reference but not initialized
     int n;  
                             ^
0_0_21942671_4497.cpp:19:34: error: 'n' was not declared in this scope
     int n;  
                                  ^
0_0_21942671_4497.cpp:20:25: error: 'v' was not declared in this scope
     v[1]=1; v[2]=5; v[3]=10;   
                         ^
0_0_21942671_4497.cpp:23:56: error: 'c1' was not declared in this scope
         memset(c1,0,sizeof(c1));  
                                                        ^
0_0_21942671_4497.cpp:24:56: error: 'c2' was not declared in this scope
         memset(c2,0,sizeof(c2));  
                                                        ^
0_0_21942671_4497.cpp:29:57: error: 'nbsp' declared as reference but not initialized
         for(int i=0;i<=100;i++){  
                                                         ^
0_0_21942671_4497.cpp:29:62: error: 'i' was not declared in this scope
         for(int i=0;i<=100;i++){  
                                                              ^
0_0_21942671_4497.cpp:29:72: error: expected ')' before ';' token
         for(int i=0;i<=100;i++){  
                                                                        ^
0_0_21942671_4497.cpp:29:73: error: 'i' was not declared in this scope
         for(int i=0;i<=100;i++){  
                                                                         ^
0_0_21942671_4497.cpp:32:57: error: 'nbsp' declared as reference but not initialized
         for(int i=2;i<=5;i++){  
                                                         ^
0_0_21942671_4497.cpp:32:70: error: expected ')' before ';' token
         for(int i=2;i<=5;i++){  
                                                                      ^
0_0_21942671_4497.cpp:47:49: error: 'll' was not declared in this scope
         ll ans=0;  
                                                 ^
0_0_21942671_4497.cpp:47:57: error: 'ans' was not declared in this scope
         ll ans=0;  
                                                         ^
0_0_21942671_4497.cpp:48:57: error: 'nbsp' declared as reference but not initialized
         for(int i=0;i<=100;i++){  
                                                         ^
0_0_21942671_4497.cpp:48:72: error: expected ')' before ';' token
         for(int i=0;i<=100;i++){  
                                                                        ^
0_0_21942671_4497.cpp:53:32: error: invalid conversion from 'int*' to 'int' [-fpermissive]
     return 0;  
                                ^
0_0_21942671_4497.cpp: At global scope:
0_0_21942671_4497.cpp:54:7: error: expected constructor, destructor, or type conversion before ';' token
 }  
       ^
0_0_21942671_4497.cpp:54: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-19 21:56:21, Gzip enabled