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_22150990_21119.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
 #include <cstdio>  
         ^
0_0_22150990_21119.cpp:2:9: error: #include expects "FILENAME" or <FILENAME>
 #include <cstring>  
         ^
0_0_22150990_21119.cpp:3:9: error: #include expects "FILENAME" or <FILENAME>
 #include <algorithm>  
         ^
0_0_22150990_21119.cpp:4:6: error: expected nested-name-specifier before '&' token
 using namespace std;  
      ^
0_0_22150990_21119.cpp:4:21: error: expected identifier before '&' token
 using namespace std;  
                     ^
0_0_22150990_21119.cpp:4:26: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                          ^
0_0_22150990_21119.cpp:4:27: error: 'std' does not name a type
 using namespace std;  
                           ^
0_0_22150990_21119.cpp:4:36: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                                    ^
0_0_22150990_21119.cpp:4:42: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                                          ^
0_0_22150990_21119.cpp:5:6: error: expected constructor, destructor, or type conversion before ';' token
   
      ^
0_0_22150990_21119.cpp:5:12: error: expected constructor, destructor, or type conversion before ';' token
   
            ^
0_0_22150990_21119.cpp:6:7: error: 'nbsp' declared as reference but not initialized
 const int N = 45;  
       ^
0_0_22150990_21119.cpp:6:16: error: conflicting declaration 'int& nbsp'
 const int N = 45;  
                ^
0_0_22150990_21119.cpp:6:7: note: previous declaration as 'const int& nbsp'
 const int N = 45;  
       ^
0_0_22150990_21119.cpp:6:21: error: 'N' does not name a type
 const int N = 45;  
                     ^
0_0_22150990_21119.cpp:6:28: error: expected unqualified-id before '=' token
 const int N = 45;  
                            ^
0_0_22150990_21119.cpp:6:35: error: expected unqualified-id before numeric constant
 const int N = 45;  
                                   ^
0_0_22150990_21119.cpp:6:43: error: expected constructor, destructor, or type conversion before ';' token
 const int N = 45;  
                                           ^
0_0_22150990_21119.cpp:6:49: error: expected constructor, destructor, or type conversion before ';' token
 const int N = 45;  
                                                 ^
0_0_22150990_21119.cpp:7:6: error: expected constructor, destructor, or type conversion before ';' token
   
      ^
0_0_22150990_21119.cpp:7:12: error: expected constructor, destructor, or type conversion before ';' token
   
            ^
0_0_22150990_21119.cpp:8:7: error: expected identifier before '&' token
 struct SB {  
       ^
0_0_22150990_21119.cpp:8:12: error: invalid type in declaration before ';' token
 struct SB {  
            ^
0_0_22150990_21119.cpp:8:12: error: conflicting declaration 'int& nbsp'
0_0_22150990_21119.cpp:6:7: note: previous declaration as 'const int& nbsp'
 const int N = 45;  
       ^
0_0_22150990_21119.cpp:8:13: error: 'SB' does not name a type
 struct SB {  
             ^
0_0_22150990_21119.cpp:8:21: error: expected unqualified-id before '{' token
 struct SB {  
                     ^
0_0_22150990_21119.cpp:10:7: error: expected constructor, destructor, or type conversion before ';' token
 } sb[N];  
       ^
0_0_22150990_21119.cpp:10:8: error: 'sb' does not name a type
 } sb[N];  
        ^
0_0_22150990_21119.cpp:10:19: error: expected constructor, destructor, or type conversion before ';' token
 } sb[N];  
                   ^
0_0_22150990_21119.cpp:10:25: error: expected constructor, destructor, or type conversion before ';' token
 } sb[N];  
                         ^
0_0_22150990_21119.cpp:11:6: error: expected constructor, destructor, or type conversion before ';' token
   
      ^
0_0_22150990_21119.cpp:11:12: error: expected constructor, destructor, or type conversion before ';' token
   
            ^
0_0_22150990_21119.cpp:12:6: error: conflicting declaration 'bool& nbsp'
 bool cmp(SB x, SB y) {  
      ^
0_0_22150990_21119.cpp:6:7: note: previous declaration as 'const int& nbsp'
 const int N = 45;  
       ^
0_0_22150990_21119.cpp:12:14: error: expected constructor, destructor, or type conversion before '(' token
 bool cmp(SB x, SB y) {  
              ^
0_0_22150990_21119.cpp:12:23: error: 'x' does not name a type
 bool cmp(SB x, SB y) {  
                       ^
0_0_22150990_21119.cpp:12:31: error: 'SB' does not name a type
 bool cmp(SB x, SB y) {  
                               ^
0_0_22150990_21119.cpp:12:39: error: 'y' does not name a type
 bool cmp(SB x, SB y) {  
                                       ^
0_0_22150990_21119.cpp:12:47: error: expected unqualified-id before '{' token
 bool cmp(SB x, SB y) {  
                                               ^
0_0_22150990_21119.cpp:14:7: error: expected constructor, destructor, or type conversion before ';' token
 }  
       ^
0_0_22150990_21119.cpp:14:13: error: expected constructor, destructor, or type conversion before ';' token
 }  
             ^
0_0_22150990_21119.cpp:15:6: error: expected constructor, destructor, or type conversion before ';' token
   
      ^
0_0_22150990_21119.cpp:15:12: error: expected constructor, destructor, or type conversion before ';' token
   
            ^
0_0_22150990_21119.cpp:16:5: error: conflicting declaration 'int& nbsp'
 int t, n, v;  
     ^
0_0_22150990_21119.cpp:6:7: note: previous declaration as 'const int& nbsp'
 const int N = 45;  
       ^
0_0_22150990_21119.cpp:16:10: error: 't' does not name a type
 int t, n, v;  
          ^
0_0_22150990_21119.cpp:16:18: error: 'n' does not name a type
 int t, n, v;  
                  ^
0_0_22150990_21119.cpp:16:26: error: 'v' does not name a type
 int t, n, v;  
                          ^
0_0_22150990_21119.cpp:16:33: error: expected constructor, destructor, or type conversion before ';' token
 int t, n, v;  
                                 ^
0_0_22150990_21119.cpp:16:39: error: expected constructor, destructor, or type conversion before ';' token
 int t, n, v;  
                                       ^
0_0_22150990_21119.cpp:17:6: error: expected constructor, destructor, or type conversion before ';' token
   
      ^
0_0_22150990_21119.cpp:17:12: error: expected constructor, destructor, or type conversion before ';' token
   
            ^
0_0_22150990_21119.cpp:18:8: error: conflicting declaration 'double& nbsp'
 double solve() {  
        ^
0_0_22150990_21119.cpp:6:7: note: previous declaration as 'const int& nbsp'
 const int N = 45;  
       ^
0_0_22150990_21119.cpp:18:21: error: expected constructor, destructor, or type conversion before 'nbsp'
 double solve() {  
                     ^
0_0_22150990_21119.cpp:18:26: error: expected unqualified-id before '{' token
 double solve() {  
                          ^


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 17:10:31, Gzip enabled