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_20446300_22763.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
 #include <stdio.h>  
         ^
0_0_20446300_22763.cpp:2:6: error: expected constructor, destructor, or type conversion before ';' token
   
      ^
0_0_20446300_22763.cpp:2:12: error: expected constructor, destructor, or type conversion before ';' token
   
            ^
0_0_20446300_22763.cpp:3:7: error: expected identifier before '&' token
 struct point {  
       ^
0_0_20446300_22763.cpp:3:12: error: invalid type in declaration before ';' token
 struct point {  
            ^
0_0_20446300_22763.cpp:3:12: error: 'nbsp' declared as reference but not initialized
0_0_20446300_22763.cpp:3:13: error: 'point' does not name a type
 struct point {  
             ^
0_0_20446300_22763.cpp:3:24: error: expected unqualified-id before '{' token
 struct point {  
                        ^
0_0_20446300_22763.cpp:5:2: error: 'buf' does not name a type
 }buf[101];  
  ^
0_0_20446300_22763.cpp:5:16: error: expected constructor, destructor, or type conversion before ';' token
 }buf[101];  
                ^
0_0_20446300_22763.cpp:5:22: error: expected constructor, destructor, or type conversion before ';' token
 }buf[101];  
                      ^
0_0_20446300_22763.cpp:6:6: error: expected constructor, destructor, or type conversion before ';' token
   
      ^
0_0_20446300_22763.cpp:6:12: error: expected constructor, destructor, or type conversion before ';' token
   
            ^
0_0_20446300_22763.cpp:7:5: error: redefinition of 'int& nbsp'
 int judge(int i, int j) {  
     ^
0_0_20446300_22763.cpp:3:8: note: 'int& nbsp' previously declared here
 struct point {  
        ^
0_0_20446300_22763.cpp:7:24: error: expected ')' before ';' token
 int judge(int i, int j) {  
                        ^
0_0_20446300_22763.cpp:7:24: error: expected constructor, destructor, or type conversion before ';' token
0_0_20446300_22763.cpp:7:25: error: 'i' does not name a type
 int judge(int i, int j) {  
                         ^
0_0_20446300_22763.cpp:7:37: error: redefinition of 'int& nbsp'
 int judge(int i, int j) {  
                                     ^
0_0_20446300_22763.cpp:3:8: note: 'int& nbsp' previously declared here
 struct point {  
        ^
0_0_20446300_22763.cpp:7:42: error: 'j' does not name a type
 int judge(int i, int j) {  
                                          ^
0_0_20446300_22763.cpp:7:50: error: expected unqualified-id before '{' token
 int judge(int i, int j) {  
                                                  ^
0_0_20446300_22763.cpp:22:7: error: expected constructor, destructor, or type conversion before ';' token
 }  
       ^
0_0_20446300_22763.cpp:22:13: error: expected constructor, destructor, or type conversion before ';' token
 }  
             ^
0_0_20446300_22763.cpp:23:6: error: expected constructor, destructor, or type conversion before ';' token
   
      ^
0_0_20446300_22763.cpp:23:12: error: expected constructor, destructor, or type conversion before ';' token
   
            ^
0_0_20446300_22763.cpp:24:5: error: redefinition of 'int& nbsp'
 int main() {  
     ^
0_0_20446300_22763.cpp:3:8: note: 'int& nbsp' previously declared here
 struct point {  
        ^
0_0_20446300_22763.cpp:24:17: error: expected constructor, destructor, or type conversion before 'nbsp'
 int main() {  
                 ^
0_0_20446300_22763.cpp:24: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-11-26 06:52:53, Gzip enabled