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_23178921_21292.cpp:4:8: error: macro names must be identifiers
 #define times 1000  
        ^
0_0_23178921_21292.cpp:3:6: error: expected constructor, destructor, or type conversion before ';' token
   
      ^
0_0_23178921_21292.cpp:3:12: error: expected constructor, destructor, or type conversion before ';' token
   
            ^
0_0_23178921_21292.cpp:5:6: error: expected constructor, destructor, or type conversion before ';' token
   
      ^
0_0_23178921_21292.cpp:5:12: error: expected constructor, destructor, or type conversion before ';' token
   
            ^
0_0_23178921_21292.cpp:6:8: error: 'nbsp' declared as reference but not initialized
 double num[30];  
        ^
0_0_23178921_21292.cpp:6:13: error: 'num' does not name a type
 double num[30];  
             ^
0_0_23178921_21292.cpp:6:26: error: expected constructor, destructor, or type conversion before ';' token
 double num[30];  
                          ^
0_0_23178921_21292.cpp:6:32: error: expected constructor, destructor, or type conversion before ';' token
 double num[30];  
                                ^
0_0_23178921_21292.cpp:7:5: error: conflicting declaration 'int& nbsp'
 int d[30];  
     ^
0_0_23178921_21292.cpp:6:8: note: previous declaration as 'double& nbsp'
 double num[30];  
        ^
0_0_23178921_21292.cpp:7:10: error: 'd' does not name a type
 int d[30];  
          ^
0_0_23178921_21292.cpp:7:21: error: expected constructor, destructor, or type conversion before ';' token
 int d[30];  
                     ^
0_0_23178921_21292.cpp:7:27: error: expected constructor, destructor, or type conversion before ';' token
 int d[30];  
                           ^
0_0_23178921_21292.cpp:8:5: error: conflicting declaration 'int& nbsp'
 int dp[3000000];  
     ^
0_0_23178921_21292.cpp:6:8: note: previous declaration as 'double& nbsp'
 double num[30];  
        ^
0_0_23178921_21292.cpp:8:10: error: 'dp' does not name a type
 int dp[3000000];  
          ^
0_0_23178921_21292.cpp:8:27: error: expected constructor, destructor, or type conversion before ';' token
 int dp[3000000];  
                           ^
0_0_23178921_21292.cpp:8:33: error: expected constructor, destructor, or type conversion before ';' token
 int dp[3000000];  
                                 ^
0_0_23178921_21292.cpp:9:6: error: expected constructor, destructor, or type conversion before ';' token
   
      ^
0_0_23178921_21292.cpp:9:12: error: expected constructor, destructor, or type conversion before ';' token
   
            ^
0_0_23178921_21292.cpp:10:5: error: conflicting declaration 'int& nbsp'
 int maxM(int a, int b) {  
     ^
0_0_23178921_21292.cpp:6:8: note: previous declaration as 'double& nbsp'
 double num[30];  
        ^
0_0_23178921_21292.cpp:10:23: error: expected ')' before ';' token
 int maxM(int a, int b) {  
                       ^
0_0_23178921_21292.cpp:10:23: error: expected constructor, destructor, or type conversion before ';' token
0_0_23178921_21292.cpp:10:24: error: 'a' does not name a type
 int maxM(int a, int b) {  
                        ^
0_0_23178921_21292.cpp:10:36: error: conflicting declaration 'int& nbsp'
 int maxM(int a, int b) {  
                                    ^
0_0_23178921_21292.cpp:6:8: note: previous declaration as 'double& nbsp'
 double num[30];  
        ^
0_0_23178921_21292.cpp:10:41: error: 'b' does not name a type
 int maxM(int a, int b) {  
                                         ^
0_0_23178921_21292.cpp:10:49: error: expected unqualified-id before '{' token
 int maxM(int a, int b) {  
                                                 ^
0_0_23178921_21292.cpp:12:7: error: expected constructor, destructor, or type conversion before ';' token
 }  
       ^
0_0_23178921_21292.cpp:12:13: error: expected constructor, destructor, or type conversion before ';' token
 }  
             ^
0_0_23178921_21292.cpp:13:6: error: expected constructor, destructor, or type conversion before ';' token
   
      ^
0_0_23178921_21292.cpp:13:12: error: expected constructor, destructor, or type conversion before ';' token
   
            ^
0_0_23178921_21292.cpp:14:5: error: conflicting declaration 'int& nbsp'
 int main() {  
     ^
0_0_23178921_21292.cpp:6:8: note: previous declaration as 'double& nbsp'
 double num[30];  
        ^
0_0_23178921_21292.cpp:14:17: error: expected constructor, destructor, or type conversion before 'nbsp'
 int main() {  
                 ^
0_0_23178921_21292.cpp:14: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-07-04 17:13:06, Gzip enabled