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_20696715_7783.cpp:59:1: error: stray '\322' in program
             /*  //之前写成了这样,把合并及> ,< 的 判断同时进行的,在此处WA了n遍!!!  
 ^
0_0_20696715_7783.cpp:59:1: error: stray '\252' in program
0_0_20696715_7783.cpp:59:1: error: stray '\322' in program
0_0_20696715_7783.cpp:59:1: error: stray '\273' in program
0_0_20696715_7783.cpp:59:1: error: stray '\264' in program
0_0_20696715_7783.cpp:59:1: error: stray '\316' in program
0_0_20696715_7783.cpp:59:1: error: stray '\320' in program
0_0_20696715_7783.cpp:59:1: error: stray '\324' in program
0_0_20696715_7783.cpp:59:1: error: stray '\265' in program
0_0_20696715_7783.cpp:59:1: error: stray '\304' in program
0_0_20696715_7783.cpp:59:1: error: stray '\260' in program
0_0_20696715_7783.cpp:59:1: error: stray '\321' in program
0_0_20696715_7783.cpp:59:1: error: stray '\313' in program
0_0_20696715_7783.cpp:59:1: error: stray '\371' in program
0_0_20696715_7783.cpp:59:1: error: stray '\323' in program
0_0_20696715_7783.cpp:59:1: error: stray '\320' in program
0_0_20696715_7783.cpp:59:1: error: stray '\265' in program
0_0_20696715_7783.cpp:59:1: error: stray '\304' in program
0_0_20696715_7783.cpp:59:1: error: stray '\317' in program
0_0_20696715_7783.cpp:59:1: error: stray '\340' in program
0_0_20696715_7783.cpp:59:1: error: stray '\265' in program
0_0_20696715_7783.cpp:59:1: error: stray '\310' in program
0_0_20696715_7783.cpp:59:1: error: stray '\275' in program
0_0_20696715_7783.cpp:59:1: error: stray '\332' in program
0_0_20696715_7783.cpp:59:1: error: stray '\265' in program
0_0_20696715_7783.cpp:59:1: error: stray '\343' in program
0_0_20696715_7783.cpp:59:1: error: stray '\317' in program
0_0_20696715_7783.cpp:59:1: error: stray '\310' in program
0_0_20696715_7783.cpp:59:1: error: stray '\272' in program
0_0_20696715_7783.cpp:59:1: error: stray '\317' in program
0_0_20696715_7783.cpp:59:1: error: stray '\262' in program
0_0_20696715_7783.cpp:59:1: error: stray '\242' in program
0_0_20696715_7783.cpp:6:6: error: expected nested-name-specifier before '&' token
 using namespace std;  
      ^
0_0_20696715_7783.cpp:6:21: error: expected identifier before '&' token
 using namespace std;  
                     ^
0_0_20696715_7783.cpp:6:26: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                          ^
0_0_20696715_7783.cpp:6:27: error: 'std' does not name a type
 using namespace std;  
                           ^
0_0_20696715_7783.cpp:6:36: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                                    ^
0_0_20696715_7783.cpp:6:42: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                                          ^
0_0_20696715_7783.cpp:7:5: error: 'nbsp' declared as reference but not initialized
 int f[10010],in[10010];  
     ^
0_0_20696715_7783.cpp:7:10: error: 'f' does not name a type
 int f[10010],in[10010];  
          ^
0_0_20696715_7783.cpp:7:34: error: expected constructor, destructor, or type conversion before ';' token
 int f[10010],in[10010];  
                                  ^
0_0_20696715_7783.cpp:7:40: error: expected constructor, destructor, or type conversion before ';' token
 int f[10010],in[10010];  
                                        ^
0_0_20696715_7783.cpp:8:1: error: 'vector' does not name a type
 vector<int> qu[10010];  
 ^
0_0_20696715_7783.cpp:8:18: error: 'qu' does not name a type
 vector<int> qu[10010];  
                  ^
0_0_20696715_7783.cpp:8:33: error: expected constructor, destructor, or type conversion before ';' token
 vector<int> qu[10010];  
                                 ^
0_0_20696715_7783.cpp:8:39: error: expected constructor, destructor, or type conversion before ';' token
 vector<int> qu[10010];  
                                       ^
0_0_20696715_7783.cpp:9:5: error: redefinition of 'int& nbsp'
 int n,m,tot;  
     ^
0_0_20696715_7783.cpp:7:5: note: 'int& nbsp' previously declared here
 int f[10010],in[10010];  
     ^
0_0_20696715_7783.cpp:9:10: error: 'n' does not name a type
 int n,m,tot;  
          ^
0_0_20696715_7783.cpp:9:23: error: expected constructor, destructor, or type conversion before ';' token
 int n,m,tot;  
                       ^
0_0_20696715_7783.cpp:9:29: error: expected constructor, destructor, or type conversion before ';' token
 int n,m,tot;  
                             ^
0_0_20696715_7783.cpp:10:5: error: redefinition of 'int& nbsp'
 int find(int i){  
     ^
0_0_20696715_7783.cpp:7:5: note: 'int& nbsp' previously declared here
 int f[10010],in[10010];  
     ^
0_0_20696715_7783.cpp:10:23: error: expected ')' before ';' token
 int find(int i){  
                       ^
0_0_20696715_7783.cpp:10:23: error: expected constructor, destructor, or type conversion before ';' token
0_0_20696715_7783.cpp:10:24: error: 'i' does not name a type
 int find(int i){  
                        ^
0_0_20696715_7783.cpp:13:7: error: expected constructor, destructor, or type conversion before ';' token
 }  
       ^
0_0_20696715_7783.cpp:13:13: error: expected constructor, destructor, or type conversion before ';' token
 }  
             ^
0_0_20696715_7783.cpp:14:6: error: cannot declare reference to 'void'
 void unio(int pa,int pb){  
      ^
0_0_20696715_7783.cpp:14:6: error: variable or field 'nbsp' declared void
0_0_20696715_7783.cpp:14:24: error: expected ')' before ';' token
 void unio(int pa,int pb){  
                        ^
0_0_20696715_7783.cpp:14:24: error: expected constructor, destructor, or type conversion before ';' token
0_0_20696715_7783.cpp:14:25: error: 'pa' does not name a type
 void unio(int pa,int pb){  
                         ^
0_0_20696715_7783.cpp:14:37: error: 'pb' does not name a type
 void unio(int pa,int pb){  
                                     ^
0_0_20696715_7783.cpp:17:7: error: expected constructor, destructor, or type conversion before ';' token
 }  
       ^
0_0_20696715_7783.cpp:17:13: error: expected constructor, destructor, or type conversion before ';' token
 }  
             ^
0_0_20696715_7783.cpp:18:5: error: redefinition of 'int& nbsp'
 int topo(){  
     ^
0_0_20696715_7783.cpp:7:5: note: 'int& nbsp' previously declared here
 int f[10010],in[10010];  
     ^
0_0_20696715_7783.cpp: In function 'int topo()':
0_0_20696715_7783.cpp:19:25: error: 'queue' was not declared in this scope
     queue<int> q;  
                         ^
0_0_20696715_7783.cpp:19:25: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:64:0,
                 from 0_0_20696715_7783.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_queue.h:96:11: note:   'std::queue'
     class queue
           ^
0_0_20696715_7783.cpp:19:31: error: expected primary-expression before 'int'
     queue<int> q;  
                               ^
0_0_20696715_7783.cpp:19:41: error: 'q' was not declared in this scope
     queue<int> q;  
                                         ^
0_0_20696715_7783.cpp:20:29: error: 'nbsp' declared as reference but not initialized
     int  i,ok=0,nu,tk;  
                             ^
0_0_20696715_7783.cpp:20:40: error: 'i' was not declared in this scope
     int  i,ok=0,nu,tk;  
                                        ^
0_0_20696715_7783.cpp:20:42: error: 'ok' was not declared in this scope
     int  i,ok=0,nu,tk;  
                                          ^
0_0_20696715_7783.cpp:20:47: error: 'nu' was not declared in this scope
     int  i,ok=0,nu,tk;  
                                               ^
0_0_20696715_7783.cpp:20:50: error: 'tk' was not declared in this scope
     int  i,ok=0,nu,tk;  
                                                  ^
0_0_20696715_7783.cpp:21:35: error: 'n' was not declared in this scope
     for(i=0;i<n;++i){  
                                   ^
0_0_20696715_7783.cpp:22:52: error: 'in' was not declared in this scope
         if(in[i]==0&&f[i]==i) q.push(i);  
                                                    ^
0_0_20696715_7783.cpp:22:62: error: 'f' was not declared in this scope
         if(in[i]==0&&f[i]==i) q.push(i);  
                                                        


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 04:44:52, Gzip enabled